[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
Wed Nov 7 16:20:01 EST 2007
This won't work because it requires the mbean code to use the annotations. The point of the indirection was to allow the deployment descriptor to specify the class to parse for the annotations, and to provide that as part of the server integration code. So, a queue would use the mbean/annotation to indicate the class to pass to the AbstractManagedObjectFactory:
| <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>
|
The org.jboss.jms.server.destination.QueueServiceMO class would be in the jbossas/messaging integration codebase.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102688#4102688
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102688
More information about the jboss-dev-forums
mailing list