org.jboss.weld.introspector
Interface WeldAnnotation<T extends java.lang.annotation.Annotation>

All Superinterfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedType<T>, WeldAnnotated<T,java.lang.Class<T>>, WeldClass<T>
All Known Implementing Classes:
ForwardingWeldAnnotation, WeldAnnotationImpl

public interface WeldAnnotation<T extends java.lang.annotation.Annotation>
extends WeldClass<T>

Represents a meta annotation

Author:
Pete Muir

Field Summary
 
Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated
MAPPED_METAANNOTATIONS
 
Method Summary
 java.util.Set<WeldMethod<?,?>> getAnnotatedMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Gets all the members annotated with annotationType
<A> WeldMethod<A,?>
getMember(java.lang.String memberName, WeldClass<A> expectedType)
          Get an annotation member by name
 java.util.Set<WeldMethod<?,?>> getMembers()
          Gets all members
 
Methods inherited from interface org.jboss.weld.introspector.WeldClass
asWeldSubclass, cast, getAnnotatedWeldConstructors, getAnnotatedWeldFields, getAnnotatedWeldMethods, getDeclaredAnnotatedWeldFields, getDeclaredAnnotatedWeldMethods, getDeclaredWeldConstructor, getDeclaredWeldField, getDeclaredWeldMethod, getDeclaredWeldMethod, getDeclaredWeldMethods, getDeclaredWeldMethodsWithAnnotatedParameters, getMetaAnnotatedWeldFields, getNoArgsWeldConstructor, getSimpleName, getWBMethod, getWeldConstructors, getWeldConstructorsWithAnnotatedParameters, getWeldFields, getWeldMethod, getWeldMethods, getWeldMethodsWithAnnotatedParameters, getWeldSuperclass, isAbstract, isEnum, isEquivalent, isNonStaticMemberClass, isParameterizedType
 
Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated
getActualTypeArguments, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getPackage, getQualifiers, isDeclaredAnnotationPresent, isFinal, isPackagePrivate, isPrivate, isProxyable, isPublic, isStatic
 
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedType
getConstructors, getFields, getJavaClass, getMethods
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Method Detail

getMembers

java.util.Set<WeldMethod<?,?>> getMembers()
Gets all members

Returns:
A set of abstracted members

getAnnotatedMembers

java.util.Set<WeldMethod<?,?>> getAnnotatedMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all the members annotated with annotationType

Parameters:
annotationType - The annotation type to match
Returns:
A set of abstracted members with the annotation type

getMember

<A> WeldMethod<A,?> getMember(java.lang.String memberName,
                              WeldClass<A> expectedType)
Get an annotation member by name

Parameters:
memberName -
Returns:


Copyright © 2008-2009 Seam Framework. All Rights Reserved.