public abstract class JmxDescription extends Object
Abstract JmxDescription class.
| Constructor and Description |
|---|
JmxDescription() |
| Modifier and Type | Method and Description |
|---|---|
static JmxDescription |
create(Object in)
create.
|
abstract Object |
getAttribute(Object o,
String attribute)
getAttribute.
|
AttributeList |
getAttributes(Object o,
String[] attributes)
getAttributes.
|
abstract MBeanInfo |
getMBeanInfo()
getMBeanInfo.
|
abstract Object |
invoke(Object o,
String actionName,
Object[] params,
String[] signature)
invoke.
|
abstract void |
setAttribute(Object o,
Attribute attribute)
setAttribute.
|
AttributeList |
setAttributes(Object o,
AttributeList attributes)
setAttributes.
|
public static JmxDescription create(Object in) throws Exception
create.
in - a Object object.JmxDescription object.Exception - if any.public abstract Object getAttribute(Object o, String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute.
o - a Object object.attribute - a String object.Object object.AttributeNotFoundException - if any.MBeanException - if any.ReflectionException - if any.public abstract void setAttribute(Object o, Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute.
o - a Object object.attribute - a Attribute object.AttributeNotFoundException - if any.InvalidAttributeValueException - if any.MBeanException - if any.ReflectionException - if any.public AttributeList getAttributes(Object o, String[] attributes)
getAttributes.
o - a Object object.attributes - an array of String objects.AttributeList object.public AttributeList setAttributes(Object o, AttributeList attributes)
setAttributes.
o - a Object object.attributes - a AttributeList object.AttributeList object.public abstract Object invoke(Object o, String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke.
o - 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.