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.StandardMBean
An MBean that reads the documentation from a resource file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
interfaceName
private java.util.Properties
resources
-
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.String
getDescription(javax.management.MBeanAttributeInfo info)
protected java.lang.String
getDescription(javax.management.MBeanInfo info)
protected java.lang.String
getDescription(javax.management.MBeanOperationInfo op)
protected int
getImpact(javax.management.MBeanOperationInfo info)
private java.util.Properties
getResources()
-
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:
getDescription
in classjavax.management.StandardMBean
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanOperationInfo op)
- Overrides:
getDescription
in classjavax.management.StandardMBean
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanAttributeInfo info)
- Overrides:
getDescription
in classjavax.management.StandardMBean
-
getImpact
protected int getImpact(javax.management.MBeanOperationInfo info)
- Overrides:
getImpact
in classjavax.management.StandardMBean
-
-