[jboss-jira] [JBoss JIRA] Commented: (JBAS-4658) The jms destinations classes need to be updated with management annotations

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Fri Nov 9 05:49:44 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4658?page=comments#action_12386807 ] 
            
Dimitris Andreadis commented on JBAS-4658:
------------------------------------------

I added the org.jboss.system.deployers.managed.ManagementObjectClass annotation and modified the code do deal with it in org.jboss.system.deployers.managed.ServiceMetaDataICF .

The 2 queues in deploy/messaging/destination-service.xml are now annotated by default:

   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=DLQ"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>      
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
   </mbean>

Based on the xmbean metadata for JBM QueueService and TopicService I created 2 new classes to hold the management information in the messaging integration module:

org.jboss.jms.server.destination.QueueServiceMO
org.jboss.jms.server.destination.TopicServiceMO




> The jms destinations classes need to be updated with management annotations
> ---------------------------------------------------------------------------
>
>                 Key: JBAS-4658
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4658
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: JMS service, Management services
>            Reporter: Scott M Stark
>         Assigned To: Dimitris Andreadis
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> The org.jboss.jms.server.destination.QueueService/TopicService and org.jboss.jms.server.connectionfactory.ConnectionFactory need to be updated with management annotations for creating the ManagedObjects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list