[jboss-user] [Microcontainer] - Re: BeanMetaData and management

bob.mcwhirter do-not-reply at jboss.com
Mon Nov 24 11:53:43 EST 2008


For what it's worth, it seems the instance-level annotation capability was the solution.  I added something like:


  | builder.addAnnotation("@org.jboss.aop.microcontainer.aspects.jmx.JMX(registerDirectly=true, exposedInterface=void.class, name=\"jboss.rails.web:app=" + unit.getSimpleName() + "\")");
  | 

And now I get no installation errors, and it appears in jmx-console as I expect it to.

MC FTW!

-Bob



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

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



More information about the jboss-user mailing list