0 Replies Latest reply on Dec 12, 2007 8:51 AM by Markus Dahm

    Annotation to define MBeanInfo

    Markus Dahm Novice


      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?