public class AnnotatedMBean extends StandardMBean
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotatedMBean(Class<?> mbeanInterface)
Instance where the MBean interface is implemented by this object.
|
|
AnnotatedMBean(T impl,
Class<T> mbeanInterface)
Instance where the MBean interface is implemented by another object.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescription(MBeanAttributeInfo info) |
protected String |
getDescription(MBeanOperationInfo op) |
protected String |
getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int paramNo) |
static void |
registerMBean(ManagementContext context,
Object object,
ObjectName objectName)
Register an mbean with the jmx context
|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic AnnotatedMBean(T impl,
Class<T> mbeanInterface)
throws NotCompliantMBeanException
impl - mbeanInterface - NotCompliantMBeanExceptionprotected AnnotatedMBean(Class<?> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic static void registerMBean(ManagementContext context, Object object, ObjectName objectName) throws Exception
context - object - objectName - Exceptionprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo op)
getDescription in class StandardMBeanprotected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo)
getParameterName in class StandardMBeanCopyright © 2017 Bedework. All rights reserved.