public class ResourceDMBean extends Object implements DynamicMBean
| Constructor and Description |
|---|
ResourceDMBean(Object instance) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
AttributeList |
getAttributes(String[] names) |
static Class<?> |
getClassForName(String name) |
MBeanInfo |
getMBeanInfo() |
String |
getObjectName() |
Object |
invoke(String name,
Object[] args,
String[] sig) |
boolean |
isManagedResource() |
boolean |
isOperationRegistred(String operationName) |
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
ClassNotFoundExceptionpublic boolean isManagedResource()
public String getObjectName()
public boolean isOperationRegistred(String operationName)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.