There is a way to do this in the aop/mc integration.
You just do:
| <bean ...>
|
<annotation>(a)org.jboss.aop.microcontainer.aspects.jmx.JMX(exposedInterface=whatever.class)</annotation>
| </bean>
|
But this is just proof of concept test code.
Another mechanism (without aop)
would be to add a BeanJMXDeployer in the deployer list
that looks for an annotation (or something else like an XMBean definition)
and does the JMX work for the bean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971993#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...