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) |
Object |
invoke(String s,
Object[] objects,
String[] strings) |
static void |
registerMBean(ManagementContext context,
Object object,
ObjectName objectName) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic AnnotatedMBean(T impl, Class<T> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanExceptionprotected AnnotatedMBean(Class<?> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic static void registerMBean(ManagementContext context, Object object, ObjectName objectName) throws Exception
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 StandardMBeanpublic Object invoke(String s, Object[] objects, String[] strings) throws MBeanException, ReflectionException
invoke in interface DynamicMBeaninvoke in class StandardMBeanMBeanExceptionReflectionExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.