public class AnnotatedMBean
extends javax.management.StandardMBean
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.String,java.lang.Class<?>> |
primitives |
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotatedMBean(java.lang.Class<?> mbeanInterface)
Instance where the MBean interface is implemented by this object.
|
|
AnnotatedMBean(T impl,
java.lang.Class<T> mbeanInterface)
Instance where the MBean interface is implemented by another object.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotatedMBean |
create(java.lang.Object object) |
protected java.lang.String |
getDescription(javax.management.MBeanAttributeInfo info) |
protected java.lang.String |
getDescription(javax.management.MBeanOperationInfo op) |
private static java.lang.reflect.Method |
getMethod(java.lang.Class<?> mbean,
java.lang.String method,
java.lang.String... params)
Returns the Method with the specified name and parameter types for the
given class, null if it doesn't exist.
|
private java.lang.reflect.Method |
getMethod(javax.management.MBeanOperationInfo op)
Extracts the Method from the MBeanOperationInfo
|
protected java.lang.String |
getParameterName(javax.management.MBeanOperationInfo op,
javax.management.MBeanParameterInfo param,
int paramNo) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationprivate static final java.util.Map<java.lang.String,java.lang.Class<?>> primitives
public AnnotatedMBean(T impl,
java.lang.Class<T> mbeanInterface)
throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanExceptionprotected AnnotatedMBean(java.lang.Class<?> mbeanInterface)
throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanExceptionpublic static AnnotatedMBean create(java.lang.Object object) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getDescription(javax.management.MBeanAttributeInfo info)
getDescription in class javax.management.StandardMBeanprotected java.lang.String getDescription(javax.management.MBeanOperationInfo op)
getDescription in class javax.management.StandardMBeanprotected java.lang.String getParameterName(javax.management.MBeanOperationInfo op,
javax.management.MBeanParameterInfo param,
int paramNo)
getParameterName in class javax.management.StandardMBeanprivate java.lang.reflect.Method getMethod(javax.management.MBeanOperationInfo op)
op - private static java.lang.reflect.Method getMethod(java.lang.Class<?> mbean,
java.lang.String method,
java.lang.String... params)
mbean - method - params -