Package org.jgroups.jmx
Class ResourceDMBean
java.lang.Object
org.jgroups.jmx.ResourceDMBean
- All Implemented Interfaces:
DynamicMBean
A DynamicMBean wrapping an annotated object instance.
- Author:
- Chris Mills, Vladimir Blagojevic
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodfindGetter(Class clazz, String name) static MethodfindSetter(Class clazz, String name) getAttribute(String name) getAttributes(String[] names) static Class<?> getClassForName(String name) voidsetAttribute(Attribute attribute) setAttributes(AttributeList list)
-
Constructor Details
-
ResourceDMBean
-
-
Method Details
-
getMBeanInfo
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
getAttribute
- Specified by:
getAttributein interfaceDynamicMBean
-
setAttribute
- Specified by:
setAttributein interfaceDynamicMBean
-
getAttributes
- Specified by:
getAttributesin interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributesin interfaceDynamicMBean
-
invoke
public Object invoke(String name, Object[] args, String[] sig) throws MBeanException, ReflectionException - Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
getClassForName
- Throws:
ClassNotFoundException
-
findGetter
-
findSetter
-