Package de.mhus.lib.core.jmx
Class JmxDescriptionMBean
- java.lang.Object
-
- de.mhus.lib.core.jmx.JmxDescription
-
- de.mhus.lib.core.jmx.JmxDescriptionMBean
-
- Direct Known Subclasses:
JmxDescritionAnnotations
public class JmxDescriptionMBean extends JmxDescription
-
-
Constructor Summary
Constructors Constructor Description JmxDescriptionMBean(Object in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidanalyse(Object in)ObjectgetAttribute(Object o, String attribute)MethodgetGetter(String attribute)MBeanInfogetMBeanInfo()MethodgetMethod(String actionName)MethodgetSetter(String attribute)Objectinvoke(Object o, String actionName, Object[] params, String[] signature)voidsetAttribute(Object o, Attribute attribute)-
Methods inherited from class de.mhus.lib.core.jmx.JmxDescription
create, getAttributes, setAttributes
-
-
-
-
Constructor Detail
-
JmxDescriptionMBean
public JmxDescriptionMBean(Object in) throws ClassNotFoundException, IntrospectionException
-
-
Method Detail
-
analyse
protected void analyse(Object in) throws ClassNotFoundException, IntrospectionException
-
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfoin classJmxDescription
-
getAttribute
public Object getAttribute(Object o, String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
- Specified by:
getAttributein classJmxDescription- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Object o, Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
- Specified by:
setAttributein classJmxDescription- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
invoke
public Object invoke(Object o, String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
- Specified by:
invokein classJmxDescription- Throws:
MBeanExceptionReflectionException
-
-