public static class ManagedMBean.FieldMember extends java.lang.Object implements ManagedMBean.Member
Constructor and Description |
---|
FieldMember(java.lang.reflect.Field field,
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() |
java.lang.Class |
getType() |
java.lang.String |
toString() |
java.lang.Class<?> |
unwrap(java.lang.Class<?> clazz) |
java.lang.Object |
unwrap(java.lang.Object clazz) |
public FieldMember(java.lang.reflect.Field field, java.lang.Object target, java.lang.String prefix)
public java.lang.Class getType()
getType
in interface ManagedMBean.Member
public java.lang.String toString()
toString
in class java.lang.Object
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.Object get() throws java.lang.IllegalAccessException
get
in interface ManagedMBean.Member
java.lang.IllegalAccessException
public java.lang.Class<?> unwrap(java.lang.Class<?> clazz)
public java.lang.Object unwrap(java.lang.Object clazz)