"kabir.khan(a)jboss.com" wrote : The AspectManagerService currently has an
"exclude" property to set all classes starting with "org.jboss." to
not be transformed/inspected, which works on the underlying AspectManager singleton.
Tip for anyone trying to convert a JMX microkernel-based service to an MC bean w/ the @JMX
annotation -- if you find your bean doesn't get registered in JMX it's probably
because of the above exclusion.
To get around this, you need to add your class or a containing package to the
"include" list in the AspectManager bean, found in
deployers/jboss-aop-jboss5.deployer/META-INF/aspect-deployer-beans.xml.
To get the services currently in cluster-service.xml registered, I would need to add
org.jboss.cache.jmx, org.jboss.cache.pojo.jmx, org.jboss.ha,
org.jboss.invocation.jrmp.server.JRMPInvokerHA,
org.jboss.invocation.pooled.server.PooledInvokerHA and
org.jboss.invocation.unified.server.UnifiedInvokerHA to this list.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985285#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...