public class ResourceDMBean extends Object implements DynamicMBean
ManagedAttribute,
ManagedOperation,
MBean| Constructor and Description |
|---|
ResourceDMBean(Object instance) |
| Modifier and Type | Method and Description |
|---|---|
static Method |
findGetter(Class clazz,
String name) |
static Method |
findSetter(Class clazz,
String name) |
Object |
getAttribute(String name) |
AttributeList |
getAttributes(String[] names) |
static Class<?> |
getClassForName(String name) |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String name,
Object[] args,
String[] sig) |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList list) |
public ResourceDMBean(Object instance)
public MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanpublic Object getAttribute(String name)
getAttribute in interface DynamicMBeanpublic void setAttribute(Attribute attribute)
setAttribute in interface DynamicMBeanpublic AttributeList getAttributes(String[] names)
getAttributes in interface DynamicMBeanpublic AttributeList setAttributes(AttributeList list)
setAttributes in interface DynamicMBeanpublic Object invoke(String name, Object[] args, String[] sig) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionpublic static Class<?> getClassForName(String name) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.