public class AnnotatedMBean extends Object implements DynamicMBean
| Constructor and Description |
|---|
AnnotatedMBean(Object bean) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
AttributeList |
getAttributes(String[] names) |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String method,
Object[] args,
String[] types) |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList attributes) |
public AnnotatedMBean(Object bean)
public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionReflectionExceptionDynamicMBean.getAttribute(java.lang.String)public AttributeList getAttributes(String[] names)
getAttributes in interface DynamicMBeanDynamicMBean.getAttributes(java.lang.String[])public MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanDynamicMBean.getMBeanInfo()public Object invoke(String method, Object[] args, String[] types) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionDynamicMBean.invoke(java.lang.String, java.lang.Object[], java.lang.String[])public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeanAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionDynamicMBean.setAttribute(javax.management.Attribute)public AttributeList setAttributes(AttributeList attributes)
setAttributes in interface DynamicMBeanDynamicMBean.setAttributes(javax.management.AttributeList)Copyright © 2004–2014 Paul Ferraro. All rights reserved.