Package org.h2.jmx
Class DocumentedMBean
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.h2.jmx.DocumentedMBean
-
- All Implemented Interfaces:
javax.management.DynamicMBean,javax.management.MBeanRegistration
public class DocumentedMBean extends javax.management.StandardMBeanAn MBean that reads the documentation from a resource file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringinterfaceNameprivate java.util.Propertiesresources
-
Constructor Summary
Constructors Constructor Description DocumentedMBean(T impl, java.lang.Class<T> mbeanInterface)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetDescription(javax.management.MBeanAttributeInfo info)protected java.lang.StringgetDescription(javax.management.MBeanInfo info)protected java.lang.StringgetDescription(javax.management.MBeanOperationInfo op)protected intgetImpact(javax.management.MBeanOperationInfo info)private java.util.PropertiesgetResources()-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
Method Detail
-
getResources
private java.util.Properties getResources()
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanInfo info)
- Overrides:
getDescriptionin classjavax.management.StandardMBean
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanOperationInfo op)
- Overrides:
getDescriptionin classjavax.management.StandardMBean
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanAttributeInfo info)
- Overrides:
getDescriptionin classjavax.management.StandardMBean
-
getImpact
protected int getImpact(javax.management.MBeanOperationInfo info)
- Overrides:
getImpactin classjavax.management.StandardMBean
-
-