Annotation Type JMXBeanKey

  • @Documented
    public @interface JMXBeanKey

    Annotation applied to a getter method inside an annotated JMXBean class. This annotated getter method should return a unique bean key as a String. The bean key pattern must conform to the name used in the constructor of ObjectName.

     public class MyBean
            private int level = 0;
            public String getBeanKey()
                    return ",level=" + level;