org.apache.activemq.broker.jmx
public class AnnotatedMBean extends javax.management.StandardMBean
Modifier | Constructor and Description |
---|---|
protected |
AnnotatedMBean(java.lang.Class<?> mbeanInterface)
Instance where the MBean interface is implemented by this object.
|
|
AnnotatedMBean(T impl,
java.lang.Class<T> mbeanInterface)
Instance where the MBean interface is implemented by another object.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getDescription(javax.management.MBeanAttributeInfo info) |
protected java.lang.String |
getDescription(javax.management.MBeanOperationInfo op) |
protected java.lang.String |
getParameterName(javax.management.MBeanOperationInfo op,
javax.management.MBeanParameterInfo param,
int paramNo) |
java.lang.Object |
invoke(java.lang.String s,
java.lang.Object[] objects,
java.lang.String[] strings) |
static void |
registerMBean(ManagementContext context,
java.lang.Object object,
javax.management.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, java.lang.Class<T> mbeanInterface) throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
protected AnnotatedMBean(java.lang.Class<?> mbeanInterface) throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
public static void registerMBean(ManagementContext context, java.lang.Object object, javax.management.ObjectName objectName) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getDescription(javax.management.MBeanAttributeInfo info)
getDescription
in class javax.management.StandardMBean
protected java.lang.String getDescription(javax.management.MBeanOperationInfo op)
getDescription
in class javax.management.StandardMBean
protected java.lang.String getParameterName(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int paramNo)
getParameterName
in class javax.management.StandardMBean
public java.lang.Object invoke(java.lang.String s, java.lang.Object[] objects, java.lang.String[] strings) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
invoke
in class javax.management.StandardMBean
javax.management.MBeanException
javax.management.ReflectionException
Copyright © 2005-2014. All Rights Reserved.