[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport

alesj do-not-reply at jboss.com
Wed Jan 2 13:51:33 EST 2008


"jhalliday" wrote : ... but it seems that nothing in the current AS trunk actually does anything with that annotation, or at least not at a sufficiently early stage in the lifecycle to be useful.
  | 
  | IMO it should be present in the AS, but I don't see it.
What about this? ;-)
server\all\deployers\jboss-aop-jboss5.deployer\META-INF\jboss-aspect-library-beans.xml(16): class="org.jboss.system.microcontainer.jmx.ServiceControllerLifecycleCallback"
server\default\deployers\jboss-aop-jboss5.deployer\META-INF\jboss-aspect-library-beans.xml(16): class="org.jboss.system.microcontainer.jmx.ServiceControllerLifecycleCallback"

"jhalliday" wrote : 
  | To my mind the functionality should really be provided via bootstrap-beans, so in the xml for the TransactionManager I can simply reference the ServiceLifecycle bean rather than having to declare it first. Or perhaps one of the existing beans already has this functionality?
Read Adrian's comment once again. ;-)
The problem is really when AOP kicks in.
Too late for bootstrap beans.

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

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



More information about the jboss-user mailing list