[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ManagedObject support in next messaging release

dimitris@jboss.org do-not-reply at jboss.com
Fri Nov 9 05:52:00 EST 2007


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 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103206#4103206

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103206



More information about the jboss-dev-forums mailing list