public static class ManagedMBean.MethodMember extends java.lang.Object implements ManagedMBean.Member
Constructor and Description |
---|
MethodMember(java.lang.reflect.Method getter,
java.lang.Object target,
java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get() |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.Class |
getDeclaringClass() |
java.lang.String |
getName()
The method name needs to be changed from "getFoo" to "foo"
|
java.lang.Class |
getType() |
java.lang.String |
toString() |
public MethodMember(java.lang.reflect.Method getter, java.lang.Object target, java.lang.String prefix)
public java.lang.Class getType()
getType
in interface ManagedMBean.Member
public java.lang.Class getDeclaringClass()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation
in interface ManagedMBean.Member
public java.lang.String getName()
getName
in interface ManagedMBean.Member
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object get() throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
get
in interface ManagedMBean.Member
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException