public class AfterTypeDiscoveryImpl extends AbstractAnnotatedTypeRegisteringEvent implements AfterTypeDiscovery
Modifier | Constructor and Description |
---|---|
protected |
AfterTypeDiscoveryImpl(BeanManagerImpl beanManager,
Map<BeanDeploymentArchive,BeanDeployment> beanDeployments,
Deployment deployment,
Collection<ContextHolder<? extends Context>> contexts) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotatedType(AnnotatedType<?> type,
String id)
Adds a given
AnnotatedType to the set of types which will be scanned during bean
discovery. |
static void |
fire(BeanManagerImpl beanManager,
Deployment deployment,
Map<BeanDeploymentArchive,BeanDeployment> beanDeployments,
Collection<ContextHolder<? extends Context>> contexts) |
List<Class<?>> |
getAlternatives() |
List<Class<?>> |
getDecorators() |
List<Class<?>> |
getInterceptors() |
protected void |
storeSyntheticAnnotatedType(BeanDeployment deployment,
AnnotatedType<?> type,
String id) |
addSyntheticAnnotatedType, getSyntheticAnnotatedTypeSource
getBeanDeployments, getDeployment, getOrCreateBeanDeployment, getTypeStore
fire
getActualTypeArguments, getBeanManager, getErrors, getObserverMethod, getRawType, getReceiver, setObserverMethod, setReceiver
protected AfterTypeDiscoveryImpl(BeanManagerImpl beanManager, Map<BeanDeploymentArchive,BeanDeployment> beanDeployments, Deployment deployment, Collection<ContextHolder<? extends Context>> contexts)
public static void fire(BeanManagerImpl beanManager, Deployment deployment, Map<BeanDeploymentArchive,BeanDeployment> beanDeployments, Collection<ContextHolder<? extends Context>> contexts)
public List<Class<?>> getAlternatives()
getAlternatives
in interface AfterTypeDiscovery
public List<Class<?>> getInterceptors()
getInterceptors
in interface AfterTypeDiscovery
public List<Class<?>> getDecorators()
getDecorators
in interface AfterTypeDiscovery
public void addAnnotatedType(AnnotatedType<?> type, String id)
AfterTypeDiscovery
Adds a given AnnotatedType
to the set of types which will be scanned during bean
discovery.
This method allows multiple annotated types, based on the same underlying type, to be defined. AnnotatedType
s
discovered by the container use the fully qualified class name of AnnotatedType.getJavaClass()
to identify the
type.
AfterBeanDiscovery.getAnnotatedType(Class, String)
and AfterBeanDiscovery.getAnnotatedTypes(Class)
allows
annotated types to be obtained by identifier.
addAnnotatedType
in interface AfterTypeDiscovery
type
- The AnnotatedType
to add for later scanningprotected void storeSyntheticAnnotatedType(BeanDeployment deployment, AnnotatedType<?> type, String id)
storeSyntheticAnnotatedType
in class AbstractAnnotatedTypeRegisteringEvent
Copyright © 2013 Seam Framework. All Rights Reserved.