Package com.caplin.management.jmx
Annotation Type JMXBeanKey
-
@Documented @Retention(RUNTIME) public @interface JMXBeanKey
Annotation applied to a getter method inside an annotated
Example:JMXBean
class. This annotated getter method should return a unique bean key as aString
. The bean key pattern must conform to the name used in the constructor ofObjectName
.@JMXBean public class MyBean { private int level = 0; @JMXBeanKey public String getBeanKey() { return "datasource.trading.tradechannel:name=TradeChannel,level=" + level; } }