public class ManagedMBean
extends java.lang.Object
implements javax.management.DynamicMBean
Modifier and Type | Class and Description |
---|---|
static class |
ManagedMBean.FieldMember
Implementation of Member for java.lang.reflect.Field
Used for injection targets that are annotated fields
|
static interface |
ManagedMBean.Member
Small utility interface used to allow polymorphing
of java.lang.reflect.Method and java.lang.reflect.Field
so that each can be treated as injection targets using
the same code.
|
static class |
ManagedMBean.MethodMember
Implementation of Member for java.lang.reflect.Method
Used for injection targets that are annotated methods
|
Constructor and Description |
---|
ManagedMBean(java.lang.Object managed) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String s) |
javax.management.AttributeList |
getAttributes(java.lang.String[] strings) |
javax.management.MBeanInfo |
getMBeanInfo() |
java.lang.Object |
invoke(java.lang.String operation,
java.lang.Object[] args,
java.lang.String[] types) |
void |
setAttribute(javax.management.Attribute attribute) |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributeList) |
void |
setAttributesFilter(java.lang.String exclude,
java.lang.String include) |
public java.lang.Object getAttribute(java.lang.String s) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList getAttributes(java.lang.String[] strings)
getAttributes
in interface javax.management.DynamicMBean
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributeList)
setAttributes
in interface javax.management.DynamicMBean
public java.lang.Object invoke(java.lang.String operation, java.lang.Object[] args, java.lang.String[] types) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean
public void setAttributesFilter(java.lang.String exclude, java.lang.String include)