public class JmxDescriptionMBean extends JmxDescription
JmxDescriptionMBean class.
| 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)
Constructor for JmxDescriptionMBean.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyse(Object in)
analyse.
|
Object |
getAttribute(Object o,
String attribute)
getAttribute.
|
Method |
getGetter(String attribute)
Getter for the field
getter. |
MBeanInfo |
getMBeanInfo()
getMBeanInfo.
|
Method |
getMethod(String actionName)
getMethod.
|
Method |
getSetter(String attribute)
Getter for the field
setter. |
Object |
invoke(Object o,
String actionName,
Object[] params,
String[] signature)
invoke.
|
void |
setAttribute(Object o,
Attribute attribute)
setAttribute.
|
create, getAttributes, setAttributesprotected MBeanInfo info
public JmxDescriptionMBean(Object in) throws ClassNotFoundException, IntrospectionException
Constructor for JmxDescriptionMBean.
in - a Object object.ClassNotFoundException - if any.IntrospectionException - if any.protected void analyse(Object in) throws ClassNotFoundException, IntrospectionException
analyse.
in - a Object object.ClassNotFoundException - if any.IntrospectionException - if any.public MBeanInfo getMBeanInfo()
getMBeanInfo.
getMBeanInfo in class JmxDescriptionMBeanInfo object.public Object getAttribute(Object o, String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute.
getAttribute in class JmxDescriptiono - a Object object.attribute - a String object.Object object.AttributeNotFoundException - if any.MBeanException - if any.ReflectionException - if any.public void setAttribute(Object o, Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute.
setAttribute in class JmxDescriptiono - a Object object.attribute - a Attribute object.AttributeNotFoundException - if any.InvalidAttributeValueException - if any.MBeanException - if any.ReflectionException - if any.public Object invoke(Object o, String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke.
invoke in class JmxDescriptiono - a Object object.actionName - a String object.params - an array of Object objects.signature - an array of String objects.Object object.MBeanException - if any.ReflectionException - if any.Copyright © 2016. All Rights Reserved.