org.apache.openejb.monitoring
Interface ManagedMBean.Member
- All Known Implementing Classes:
- ManagedMBean.FieldMember, ManagedMBean.MethodMember
- Enclosing class:
- ManagedMBean
public 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.
Method Summary |
java.lang.Object |
get()
|
<T extends java.lang.annotation.Annotation>
T |
|
getAnnotation(java.lang.Class<T> annotationClass)
|
java.lang.String |
getName()
|
java.lang.Class |
getType()
|
get
java.lang.Object get()
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
getName
java.lang.String getName()
getType
java.lang.Class getType()
getAnnotation
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.