org.apache.jackrabbit.oak.commons.jmx
Class AnnotatedStandardMBean
java.lang.Object
javax.management.StandardMBean
org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration
public class AnnotatedStandardMBean
- extends StandardMBean
The extension of StandardMBean that will automatically provide JMX
metadata through annotations.
- See Also:
MBeanInfo,
Description,
Name,
Impact
| Methods inherited from class javax.management.StandardMBean |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedStandardMBean
public AnnotatedStandardMBean(T implementation,
Class<T> mbeanInterface)
throws NotCompliantMBeanException
- Make a DynamicMBean out of the object implementation, using the specified
mbeanInterface class.
- Throws:
NotCompliantMBeanException- See Also:
javax.management.StandardMBean#StandardMBean(Object, Class)}
AnnotatedStandardMBean
protected AnnotatedStandardMBean(Class<?> mbeanInterface)
throws NotCompliantMBeanException
- Throws:
NotCompliantMBeanException
getDescription
protected String getDescription(MBeanInfo info)
- Overrides:
getDescription in class StandardMBean
getDescription
protected String getDescription(MBeanAttributeInfo info)
- Overrides:
getDescription in class StandardMBean
getDescription
protected String getDescription(MBeanOperationInfo info)
- Overrides:
getDescription in class StandardMBean
getImpact
protected int getImpact(MBeanOperationInfo info)
- Overrides:
getImpact in class StandardMBean
getParameterName
protected String getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
- Overrides:
getParameterName in class StandardMBean
getDescription
protected String getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
- Overrides:
getDescription in class StandardMBean
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.