[jboss-user] [EJB 3.0] - Annotation to define MBeanInfo

dahm do-not-reply at jboss.com
Wed Dec 12 08:51:06 EST 2007


Hi,

when defining an MBean with the @Service and @Management annotations how do I specify the related MBeanInfo instead of the generated defaults?
I know that there is some @DescriptorKey in javax.management. However
its usage seems to be quite awkward and cumbersome.

Isn't there some like a @Description annotation that I can add to my getters and methods?

If that is not an issue, has anyone got an example running using the @DescriptorKey way?

Cheers
   Markus

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

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



More information about the jboss-user mailing list