public class BeforeBeanDiscoveryImpl extends AbstractBeanDiscoveryEvent implements BeforeBeanDiscovery
| Modifier | Constructor and Description |
|---|---|
protected |
BeforeBeanDiscoveryImpl(BeanManagerImpl beanManager,
Deployment deployment,
Map<BeanDeploymentArchive,BeanDeployment> beanDeployments,
Collection<ContextHolder<? extends Context>> contexts) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotatedType(AnnotatedType<?> type)
Adds a given
AnnotatedType to the set
of types which will be scanned during bean discovery. |
void |
addInterceptorBinding(Class<? extends Annotation> bindingType,
Annotation... bindingTypeDef)
Declares an annotation type as an interceptor
binding type, and specifies its meta-annotations.
|
void |
addQualifier(Class<? extends Annotation> bindingType)
Declares an annotation type as a Qualifier
qualifier type.
|
void |
addScope(Class<? extends Annotation> scopeType,
boolean normal,
boolean passivating)
Declares an annotation type as a scope type.
|
void |
addStereotype(Class<? extends Annotation> stereotype,
Annotation... stereotypeDef)
Declares an annotation type as a
stereotype, and specifies
its meta-annotations.
|
static void |
fire(BeanManagerImpl beanManager,
Deployment deployment,
Map<BeanDeploymentArchive,BeanDeployment> beanDeployments,
Collection<ContextHolder<? extends Context>> contexts) |
getBeanDeployments, getDeployment, getOrCreateBeanDeployment, getTypeStorefire, firegetActualTypeArguments, getBeanManager, getErrors, getRawTypeprotected BeforeBeanDiscoveryImpl(BeanManagerImpl beanManager, Deployment deployment, Map<BeanDeploymentArchive,BeanDeployment> beanDeployments, Collection<ContextHolder<? extends Context>> contexts)
public static void fire(BeanManagerImpl beanManager, Deployment deployment, Map<BeanDeploymentArchive,BeanDeployment> beanDeployments, Collection<ContextHolder<? extends Context>> contexts)
public void addQualifier(Class<? extends Annotation> bindingType)
BeforeBeanDiscoveryaddQualifier in interface BeforeBeanDiscoverybindingType - The annotation to treat as a qualifierpublic void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef)
BeforeBeanDiscoveryaddInterceptorBinding in interface BeforeBeanDiscoverybindingType - The annotation type to treat as an interceptor binding
typebindingTypeDef - An optional list of annotations defining the interceptorpublic void addScope(Class<? extends Annotation> scopeType, boolean normal, boolean passivating)
BeforeBeanDiscoveryaddScope in interface BeforeBeanDiscoveryscopeType - The annotation type to treat as a
scope typenormal - Indicates if the scope is normalpassivating - Indicates if the scope is
passivation capablepublic void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef)
BeforeBeanDiscoveryaddStereotype in interface BeforeBeanDiscoverystereotype - The annotation type to treat as a
stereotypestereotypeDef - An optional list of annotations defining the
stereotypepublic void addAnnotatedType(AnnotatedType<?> type)
BeforeBeanDiscoveryAnnotatedType to the set
of types which will be scanned during bean discovery.addAnnotatedType in interface BeforeBeanDiscoverytype - The AnnotatedType to add
for later scanningCopyright © 2013 Seam Framework. All Rights Reserved.