|
||||||||||
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(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. |
Method Summary | |
---|---|
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)
|
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, Class<T> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanException
protected AnnotatedMBean(Class<?> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanException
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |