JBoss Service POJO does not work
Issue
I tried to create an MBean using the Service POJO approach according to the JBoss Manual.
After the deployment of the service I neither found the service in the JMX-console nor got an error during the deployment. Isn't this feature available in the EAP version we're using?
Here's the code:
// the implementing class
@Service(objectName="test:service=TestService")
@Management(TestServiceManagement.class)
public class TestServiceMBean implements TestServiceManagement {
// Implementation follows here
}
Environment
JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.