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, setImplementation
public AnnotatedMBean(T impl, Class<T> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanException
protected AnnotatedMBean(Class<?> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanException
public static void registerMBean(ManagementContext context, Object object, ObjectName objectName) throws Exception
Exception
protected String getDescription(MBeanAttributeInfo info)
getDescription
in class StandardMBean
protected String getDescription(MBeanOperationInfo op)
getDescription
in class StandardMBean
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo)
getParameterName
in class StandardMBean
public Object invoke(String s, Object[] objects, String[] strings) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
invoke
in class StandardMBean
MBeanException
ReflectionException
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.