[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Support for @JMX on attributes

timfox do-not-reply at jboss.com
Tue Jun 24 03:08:42 EDT 2008


FWIW, the actual config I managed to get to work is slightly different to what Adrian suggested (I couldn't get Adrian's syntax to work), but it works and I'm happy with that.


  | <bean name="MessagingServerManagement"        class="org.jboss.messaging.core.management.impl.MessagingServerManagementImpl">
  | <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.messaging:service=MessagingServerManagement",exposedInterface=org.jboss.messaging.core.management.MessagingServerManagement.class)</annotation>
  |       <constructor factoryMethod="getServerManagement">
  |          <factory bean="MessagingServer"/>
  |       </constructor>
  | </bean>
  | 

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

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



More information about the jboss-dev-forums mailing list