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 DynamicMBean
public Object getAttribute(String name)
getAttribute
in interface DynamicMBean
public void setAttribute(Attribute attribute)
setAttribute
in interface DynamicMBean
public AttributeList getAttributes(String[] names)
getAttributes
in interface DynamicMBean
public AttributeList setAttributes(AttributeList list)
setAttributes
in interface DynamicMBean
public Object invoke(String name, Object[] args, String[] sig) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
public static Class<?> getClassForName(String name) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.