[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Registering a bean as an aspect in the bootstrap

scott.stark@jboss.org do-not-reply at jboss.com
Sat Feb 3 12:24:43 EST 2007


That is just a bad configuration of the jmx name as it is the same as the bean name:


  |    <bean class="org.jboss.system.BarrierController"
  |           name="jboss.ha:service=HASingletonDeployer,type=BarrierController">
  |     
  |       <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.ha:service=HASingletonDeployer,type=BarrierController", exposedInterface=org.jboss.system.BarrierControllerMBean.class, registerDirectly=true)</annotation> 
  | 

I checked in a change to set the jmx name to jboss.ha:service=HASingletonDeployer,type=BarrierControllerMBean.


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

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



More information about the jboss-dev-forums mailing list