public abstract class MetricsDynamicMBeanBase extends Object implements DynamicMBean
Modifier | Constructor and Description |
---|---|
protected |
MetricsDynamicMBeanBase(MetricsRegistry mr,
String aMBeanDescription) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attributeName) |
AttributeList |
getAttributes(String[] attributeNames) |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String actionName,
Object[] parms,
String[] signature) |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList attributes) |
protected MetricsDynamicMBeanBase(MetricsRegistry mr, String aMBeanDescription)
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
AttributeNotFoundException
MBeanException
ReflectionException
public AttributeList getAttributes(String[] attributeNames)
getAttributes
in interface DynamicMBean
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
public Object invoke(String actionName, Object[] parms, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
Copyright © 2010 The Apache Software Foundation