Annotation Type NameValue


@Documented @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface NameValue
This annotation is applied to a method that takes no arguments and returns a value that is converted into a String for use in the ObjectName when an instance of the enclosing class is used to construct an open MBean.