|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotatedMethod<T>
AnnotatedType provides a uniform access to the annotations on an annotated class defined either in Java or XML
| Field Summary | |
|---|---|
static java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
MAPPED_PARAMETER_ANNOTATIONS
|
| Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
MAPPED_METAANNOTATIONS |
| Method Summary | |
|---|---|
java.util.List<AnnotatedParameter<java.lang.Object>> |
getAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets the list of annotated parameters for a given annotation |
AnnotatedType<?> |
getDeclaringClass()
Gets the declaring class |
java.util.List<AnnotatedParameter<java.lang.Object>> |
getParameters()
Gets the abstracted parameters of the method |
java.lang.Class<?>[] |
getParameterTypesAsArray()
Get the parameter types as an array |
java.lang.String |
getPropertyName()
Gets the property name |
T |
invoke(java.lang.Object instance,
Manager manager)
Invokes the method |
T |
invoke(java.lang.Object instance,
java.lang.Object... parameters)
Invokes the method |
T |
invokeOnInstance(java.lang.Object instance,
Manager manager)
Invokes the method on the class of the passed instance, not the declaring class. |
T |
invokeWithSpecialValue(java.lang.Object instance,
java.lang.Class<? extends java.lang.annotation.Annotation> specialParam,
java.lang.Object specialVal,
Manager manager)
Invokes the observer method |
| Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
getActualTypeArguments, getAnnotation, getAnnotations, getBindingTypes, getBindingTypesAsArray, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isFinal, isProxyable, isStatic |
| Field Detail |
|---|
static final java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> MAPPED_PARAMETER_ANNOTATIONS
| Method Detail |
|---|
java.util.List<AnnotatedParameter<java.lang.Object>> getParameters()
java.util.List<AnnotatedParameter<java.lang.Object>> getAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
metaAnnotationType - The annotation to match
java.lang.Class<?>[] getParameterTypesAsArray()
T invoke(java.lang.Object instance,
Manager manager)
instance - The instance to invokemanager - The Web Beans manager
T invokeOnInstance(java.lang.Object instance,
Manager manager)
instance - The instance to invokemanager - The Web Beans manager
T invokeWithSpecialValue(java.lang.Object instance,
java.lang.Class<? extends java.lang.annotation.Annotation> specialParam,
java.lang.Object specialVal,
Manager manager)
instance - The instance to invokeevent - the event objectmanager - The Web Beans manager
T invoke(java.lang.Object instance,
java.lang.Object... parameters)
instance - The instance to invokeparameters - The method parameters
AnnotatedType<?> getDeclaringClass()
java.lang.String getPropertyName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||