public class AnnotatedStandardMBean extends StandardMBean
StandardMBean that will automatically provide JMX
metadata through annotations.MBeanInfo,
Description,
Name,
Impact| Modifier | Constructor and Description |
|---|---|
protected |
AnnotatedStandardMBean(Class<?> mbeanInterface) |
|
AnnotatedStandardMBean(T implementation,
Class<T> mbeanInterface)
Make a DynamicMBean out of the object implementation, using the specified
mbeanInterface class.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescription(MBeanAttributeInfo info) |
protected String |
getDescription(MBeanInfo info) |
protected String |
getDescription(MBeanOperationInfo info) |
protected String |
getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence) |
protected int |
getImpact(MBeanOperationInfo info) |
protected String |
getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic AnnotatedStandardMBean(T implementation,
Class<T> mbeanInterface)
throws NotCompliantMBeanException
NotCompliantMBeanExceptionjavax.management.StandardMBean#StandardMBean(Object, Class)}protected AnnotatedStandardMBean(Class<?> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanExceptionprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo info)
getDescription in class StandardMBeanprotected int getImpact(MBeanOperationInfo info)
getImpact in class StandardMBeanprotected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getParameterName in class StandardMBeanprotected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getDescription in class StandardMBeanCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.