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 DynamicMBean
AttributeNotFoundException
MBeanException
ReflectionException
DynamicMBean.getAttribute(java.lang.String)
public AttributeList getAttributes(String[] names)
getAttributes
in interface DynamicMBean
DynamicMBean.getAttributes(java.lang.String[])
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
DynamicMBean.getMBeanInfo()
public Object invoke(String method, Object[] args, String[] types) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
DynamicMBean.invoke(java.lang.String, java.lang.Object[], java.lang.String[])
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
DynamicMBean.setAttribute(javax.management.Attribute)
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
DynamicMBean.setAttributes(javax.management.AttributeList)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.