Package javax.enterprise.inject.spi
Interface BeforeBeanDiscovery
-
public interface BeforeBeanDiscoveryContainer fires this event before discovery of the beans process.- Version:
- $Rev: 1493261 $ $Date: 2013-06-15 00:05:07 +0200 (Sat, 15 Jun 2013) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAnnotatedType(AnnotatedType<?> type)Adds new annotated type.voidaddAnnotatedType(AnnotatedType<?> type, java.lang.String id)Adds new annotated type for classes which are not picked up by the CDI container or if you like to add multiple AnnotatedType for the same class.voidaddInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> binding, java.lang.annotation.Annotation... bindingDef)Declares a new interceptor binding.voidaddInterceptorBinding(AnnotatedType<? extends java.lang.annotation.Annotation> bindingType)Declare a new interceptor binding via the information from the given AnnotatedType.voidaddQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)Declares a new qualifier.voidaddQualifier(AnnotatedType<? extends java.lang.annotation.Annotation> qualifier)Declare a new qualifier via the information from the given AnnotatedType.voidaddScope(java.lang.Class<? extends java.lang.annotation.Annotation> scope, boolean normal, boolean passivating)Declares a new scope.voidaddStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype, java.lang.annotation.Annotation... stereotypeDef)Declares a new stereotype.
-
-
-
Method Detail
-
addQualifier
void addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
Declares a new qualifier.- Parameters:
qualifier- qualifier
-
addQualifier
void addQualifier(AnnotatedType<? extends java.lang.annotation.Annotation> qualifier)
Declare a new qualifier via the information from the given AnnotatedType.- Parameters:
qualifier-
-
addScope
void addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scope, boolean normal, boolean passivating)Declares a new scope.- Parameters:
scope- scopenormal- is normal or notpassivating- passivated or not
-
addStereotype
void addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype, java.lang.annotation.Annotation... stereotypeDef)Declares a new stereotype.- Parameters:
stereotype- stereotype classstereotypeDef- meta annotations
-
addInterceptorBinding
void addInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> binding, java.lang.annotation.Annotation... bindingDef)Declares a new interceptor binding.- Parameters:
binding- binding classbindingDef- meta annotations
-
addInterceptorBinding
void addInterceptorBinding(AnnotatedType<? extends java.lang.annotation.Annotation> bindingType)
Declare a new interceptor binding via the information from the given AnnotatedType.- Parameters:
bindingType-
-
addAnnotatedType
void addAnnotatedType(AnnotatedType<?> type)
Adds new annotated type. This version shall be used when adding AnnotatedTypes for classes which are not yet scanned by the CDI container.- Parameters:
type- annotated type
-
addAnnotatedType
void addAnnotatedType(AnnotatedType<?> type, java.lang.String id)
Adds new annotated type for classes which are not picked up by the CDI container or if you like to add multiple AnnotatedType for the same class.- Parameters:
type- annotated typeid- to distinguish AnnotatedTypes for the same class.
-
-