Package de.mhus.lib.core.jmx
Class JmxDescription
- java.lang.Object
-
- de.mhus.lib.core.jmx.JmxDescription
-
- Direct Known Subclasses:
JmxDescriptionDynamic,JmxDescriptionMBean
public abstract class JmxDescription extends Object
-
-
Constructor Summary
Constructors Constructor Description JmxDescription()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static JmxDescriptioncreate(Object in)abstract ObjectgetAttribute(Object o, String attribute)AttributeListgetAttributes(Object o, String[] attributes)abstract MBeanInfogetMBeanInfo()abstract Objectinvoke(Object o, String actionName, Object[] params, String[] signature)abstract voidsetAttribute(Object o, Attribute attribute)AttributeListsetAttributes(Object o, AttributeList attributes)
-
-
-
Method Detail
-
create
public static JmxDescription create(Object in) throws Exception
- Throws:
Exception
-
getAttribute
public abstract Object getAttribute(Object o, String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
-
setAttribute
public abstract void setAttribute(Object o, Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
-
getAttributes
public AttributeList getAttributes(Object o, String[] attributes)
-
setAttributes
public AttributeList setAttributes(Object o, AttributeList attributes)
-
invoke
public abstract Object invoke(Object o, String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
- Throws:
MBeanExceptionReflectionException
-
getMBeanInfo
public abstract MBeanInfo getMBeanInfo()
-
-