[jboss-dev-forums] [Design of POJO Server] - Re: Minimal now boots

adrian@jboss.org do-not-reply at jboss.com
Fri Sep 15 13:28:20 EDT 2006


There is a way to do this in the aop/mc integration.
You just do:


  | <bean ...>
  |    <annotation>@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#3971993

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



More information about the jboss-dev-forums mailing list