资 源 简 介
pojo-mbean
pojo-mbean provides an easy way of MBean enabling your code, allowing it to be monitored and controlled using Java Management Extension (JMX) clients such as JConsole, VisualVM and Java EE web clients, such as the JBoss JMX Console.
No need to implement an MBean or MXBean interface at all. Simply annotate your Java class with @MBean, @ManagedAttribute and @ManagedOperation annotations, add a single line of Java code to register the MBean with the MBean server and you have a fully functional MBean.
Several ready-to-use sample MBean implementations are also supplied.
See the