|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.util.WebBeansAnnotatedTypeUtil
public final class WebBeansAnnotatedTypeUtil
| Method Summary | ||
|---|---|---|
static
|
addConstructorInjectionPointMetaData(AbstractOwbBean<T> owner,
AnnotatedConstructor<T> constructor)
|
|
static
|
addFieldInjectionPointMetaData(AbstractOwbBean<T> owner,
AnnotatedField<X> annotField)
|
|
static
|
addMethodInjectionPointMetaData(OwbBean<T> owner,
AnnotatedMethod<X> method)
|
|
static
|
checkManagedBeanCondition(AnnotatedType<X> type)
Checks the implementation class for checking conditions. |
|
static
|
checkManagedWebBeansInterceptorConditions(AnnotatedType<X> type)
|
|
static
|
checkObserverMethodConditions(AnnotatedMethod<X> annotatedMethod,
Class<?> clazz)
|
|
static
|
checkProducerMethodDisposal(AnnotatedMethod<X> annotatedMethod)
CheckProducerMethodDisposal. |
|
static
|
checkProducerMethodForDeployment(AnnotatedMethod<X> annotatedMethod)
Check producer method is ok for deployment. |
|
static
|
configureProducerSpecialization(AbstractOwbBean<X> bean,
AnnotatedMethod<X> annotatedMethod)
|
|
static
|
defineAbstractDecorator(AnnotatedType<T> type)
|
|
static
|
defineDecorator(AnnotatedType<T> annotatedType)
Define decorator bean. |
|
static
|
defineDisposalMethods(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
|
|
static
|
defineInjectedFields(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
|
|
static
|
defineInjectedMethods(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
|
|
static
|
defineInterceptor(AnnotatedType<T> annotatedType)
|
|
static
|
defineManagedBean(AnnotatedType<T> type)
|
|
static
|
defineObserverMethods(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
|
|
static
|
defineProducerFields(InjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
|
|
static
|
defineProducerMethods(InjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
|
|
static
|
getBeanConstructor(AnnotatedType<T> type)
|
|
static
|
getDisposalWithGivenAnnotatedMethod(AnnotatedType<X> annotatedType,
Type beanType,
Annotation[] qualifiers)
|
|
static
|
getJavaEeComponentInstanceInjectionPoints(AnnotatedType<T> type)
Gets injection points for the given javaee component annotated type. |
|
static boolean |
isAnnotatedTypeDecorator(AnnotatedType<?> annotatedType)
Return true if this annotated type represents a decorator. |
|
static boolean |
isAnnotatedTypeDecoratorOrInterceptor(AnnotatedType<?> annotatedType)
Return true if this annotated type represents a decorator. |
|
static boolean |
isAnnotatedTypeInterceptor(AnnotatedType<?> annotatedType)
Return true if this annotated type represents a decorator. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> AnnotatedConstructor<T> getBeanConstructor(AnnotatedType<T> type)
public static <T> void addConstructorInjectionPointMetaData(AbstractOwbBean<T> owner,
AnnotatedConstructor<T> constructor)
public static <T,X> void addMethodInjectionPointMetaData(OwbBean<T> owner,
AnnotatedMethod<X> method)
public static <T,X> void addFieldInjectionPointMetaData(AbstractOwbBean<T> owner,
AnnotatedField<X> annotField)
public static <X> Set<ObserverMethod<?>> defineObserverMethods(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
public static <X> void defineDisposalMethods(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
public static <X> void defineInjectedMethods(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
public static <X> void defineInjectedFields(AbstractInjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
public static <X> Set<ProducerFieldBean<?>> defineProducerFields(InjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
public static <X> Set<ProducerMethodBean<?>> defineProducerMethods(InjectionTargetBean<X> bean,
AnnotatedType<X> annotatedType)
public static <X> void checkProducerMethodForDeployment(AnnotatedMethod<X> annotatedMethod)
annotatedMethod - producer method
public static <X> void configureProducerSpecialization(AbstractOwbBean<X> bean,
AnnotatedMethod<X> annotatedMethod)
public static <X> void checkProducerMethodDisposal(AnnotatedMethod<X> annotatedMethod)
annotatedMethod - disposal method
public static <X> void checkObserverMethodConditions(AnnotatedMethod<X> annotatedMethod,
Class<?> clazz)
public static <X> void checkManagedBeanCondition(AnnotatedType<X> type)
throws WebBeansConfigurationException
type - implementation class
WebBeansConfigurationException - if any configuration exception occurspublic static <X> void checkManagedWebBeansInterceptorConditions(AnnotatedType<X> type)
public static <T> ManagedBean<T> defineAbstractDecorator(AnnotatedType<T> type)
public static <T> Set<InjectionPoint> getJavaEeComponentInstanceInjectionPoints(AnnotatedType<T> type)
throws IllegalArgumentException
T - component class typetype - annotated type for the class
IllegalArgumentException - if any exception occurspublic static <T> ManagedBean<T> defineManagedBean(AnnotatedType<T> type)
public static boolean isAnnotatedTypeDecorator(AnnotatedType<?> annotatedType)
annotatedType - annotated type
public static boolean isAnnotatedTypeDecoratorOrInterceptor(AnnotatedType<?> annotatedType)
annotatedType - annotated type
public static boolean isAnnotatedTypeInterceptor(AnnotatedType<?> annotatedType)
annotatedType - annotated type
public static <T> void defineDecorator(AnnotatedType<T> annotatedType)
T - type infoannotatedType - decorator classpublic static <T> void defineInterceptor(AnnotatedType<T> annotatedType)
public static <X> Method getDisposalWithGivenAnnotatedMethod(AnnotatedType<X> annotatedType,
Type beanType,
Annotation[] qualifiers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||