|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.StandardMBean
org.apache.activemq.broker.jmx.AnnotatedMBean
public class AnnotatedMBean
MBean that looks for method/parameter descriptions in the Info annotation.
| Constructor Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class javax.management.StandardMBean |
|---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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| Method Detail |
|---|
public static void registerMBean(ManagementContext context,
java.lang.Object object,
javax.management.ObjectName objectName)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getDescription(javax.management.MBeanAttributeInfo info)
getDescription in class javax.management.StandardMBeanprotected 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.DynamicMBeaninvoke in class javax.management.StandardMBeanjavax.management.MBeanException
javax.management.ReflectionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||