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
 Object get()
           
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 String getName()
           
 Class getType()
           
 

Method Detail

get

Object get()
           throws IllegalAccessException,
                  InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException

getName

String getName()

getType

Class getType()

getAnnotation

<T extends Annotation> T getAnnotation(Class<T> annotationClass)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.