public class AfterTypeDiscoveryImpl extends AbstractAnnotatedTypeRegisteringEvent implements AfterTypeDiscovery
| Modifier | Constructor and Description |
|---|---|
protected |
AfterTypeDiscoveryImpl(BeanManagerImpl beanManager,
BeanDeploymentArchiveMapping bdaMapping,
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,
BeanDeploymentArchiveMapping bdaMapping,
Collection<ContextHolder<? extends Context>> contexts) |
List<Class<?>> |
getAlternatives() |
List<Class<?>> |
getDecorators() |
List<Class<?>> |
getInterceptors() |
protected void |
storeSyntheticAnnotatedType(BeanDeployment deployment,
AnnotatedType<?> type,
String id) |
addSyntheticAnnotatedTypegetBeanDeployments, getDeployment, getOrCreateBeanDeployment, getTypeStoreaddDefinitionError, firegetActualTypeArguments, getBeanManager, getErrors, getRawTypecheckWithinObserverNotification, getReceiver, postNotify, preNotifyprotected AfterTypeDiscoveryImpl(BeanManagerImpl beanManager, BeanDeploymentArchiveMapping bdaMapping, Deployment deployment, Collection<ContextHolder<? extends Context>> contexts)
public static void fire(BeanManagerImpl beanManager, Deployment deployment, BeanDeploymentArchiveMapping bdaMapping, Collection<ContextHolder<? extends Context>> contexts)
public List<Class<?>> getAlternatives()
getAlternatives in interface AfterTypeDiscoverypublic List<Class<?>> getInterceptors()
getInterceptors in interface AfterTypeDiscoverypublic List<Class<?>> getDecorators()
getDecorators in interface AfterTypeDiscoverypublic 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. AnnotatedTypes
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 AfterTypeDiscoverytype - The AnnotatedType to add for later scanningprotected void storeSyntheticAnnotatedType(BeanDeployment deployment, AnnotatedType<?> type, String id)
storeSyntheticAnnotatedType in class AbstractAnnotatedTypeRegisteringEventCopyright © 2014. All Rights Reserved.