public class JmxDescriptionMBean extends JmxDescription
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,Method> |
getter |
protected MBeanInfo |
info |
protected HashMap<String,Method> |
methods |
protected HashMap<String,Method> |
setter |
| Constructor and Description |
|---|
JmxDescriptionMBean(Object in) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyse(Object in) |
Object |
getAttribute(Object o,
String attribute) |
Method |
getGetter(String attribute) |
MBeanInfo |
getMBeanInfo() |
Method |
getMethod(String actionName) |
Method |
getSetter(String attribute) |
Object |
invoke(Object o,
String actionName,
Object[] params,
String[] signature) |
void |
setAttribute(Object o,
Attribute attribute) |
create, getAttributes, setAttributesprotected MBeanInfo info
public JmxDescriptionMBean(Object in) throws ClassNotFoundException, IntrospectionException
protected void analyse(Object in) throws ClassNotFoundException, IntrospectionException
public MBeanInfo getMBeanInfo()
getMBeanInfo in class JmxDescriptionpublic Object getAttribute(Object o, String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in class JmxDescriptionAttributeNotFoundExceptionMBeanExceptionReflectionExceptionpublic void setAttribute(Object o, Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in class JmxDescriptionAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionpublic Object invoke(Object o, String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke in class JmxDescriptionMBeanExceptionReflectionExceptionCopyright © 2014. All rights reserved.