Support for Service exposing a management interface and a custom objectName through
deployment descriptor isn't working
-----------------------------------------------------------------------------------------------------------------------
Key: EJBTHREE-1678
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1678
Project: EJB 3.0
Issue Type: Bug
Affects Versions: 1.0.0-Beta11
Environment: JBossAS-5.0 GA
Reporter: jaikiran pai
Assignee: jaikiran pai
The xml equivalent of @Management and @Service(objectName="blah:blah=blah")
doesn't work:
<service>
<ejb-name>ServiceOne</ejb-name>
<ejb-class>org.jboss.tutorial.service_deployment_descriptor.bean.ServiceOne</ejb-class>
<!-- Does not work -->
<object-name>tutorial:service=serviceOne</object-name>
<management>org.jboss.tutorial.service_deployment_descriptor.bean.ServiceOneManagement</management>
</service>
This is resulting in the "service_deployment_descriptor" tutorial failing
against JBoss-5.0 GA.
The ServiceContainer.registerManagementInterface relies on the getAnnotation method to
check for the management interface and the objectName, which causes this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira