Package nl.vpro.jmx

Class AnnotatedStandardMXBean

java.lang.Object
javax.management.StandardMBean
nl.vpro.jmx.AnnotatedStandardMXBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration

public class AnnotatedStandardMXBean extends StandardMBean
Provides support for the annotation Description, Name and, Units. {@link MBeans#registerBean(ObjectName, Object), wraps mbeans in this, so that the proper metadata of them is visible in mbean clients (like visualvm). See here, from which this class was largely copied.