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

scott.stark@jboss.org do-not-reply at jboss.com
Fri Sep 21 11:00:51 EDT 2007


Here is another approach that also moves toward having the annotations in the xml config. We do have some annotation support in the service mbean descriptors, for example:


  | <mbean name="jboss.test:type=BasicMBeanName" code="BasicMBeanCode">
  |     <annotation>@org.jboss.test.system.metadata.annotation.CompType(type="DS",subtype="LocalTX")</annotation>
  | </mbean>
  | 

so I can add a ManagedCode annotation that allows you to specify the class to scan for the management annotations. You can then add empty subclasses of the jms destination mbeans in the server/messaging project and then specify the management annotations on those, and point to those classes using the annotation element. Perhaps this can reuse the legacy mbeans Clebert updated. I have reopened JBAS-4658 for this.



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

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



More information about the jboss-dev-forums mailing list