public class AfterBeanDiscoveryImpl extends AbstractBeanDiscoveryEvent implements ExperimentalAfterBeanDiscovery
| Modifier and Type | Method and Description |
|---|---|
<T> BeanBuilder<T> |
addBean()
The
BeanBuilder.build() is invoked automatically and the resulting bean is registered after all observers are notified. |
void |
addBean(Bean<?> bean) |
void |
addContext(Context context) |
void |
addObserverMethod(ObserverMethod<?> observerMethod) |
<T> BeanBuilder<T> |
beanBuilder() |
static void |
fire(BeanManagerImpl beanManager,
Deployment deployment,
BeanDeploymentArchiveMapping bdaMapping,
Collection<ContextHolder<? extends Context>> contexts) |
<T> AnnotatedType<T> |
getAnnotatedType(Class<T> type,
String id) |
<T> Iterable<AnnotatedType<T>> |
getAnnotatedTypes(Class<T> type) |
protected <T> void |
processBeanRegistration(org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.BeanRegistration registration) |
getBeanDeployments, getContexts, getDeployment, getOrCreateBeanDeployment, getTypeStoreaddDefinitionError, firegetActualTypeArguments, getBeanManager, getErrors, getRawTypecheckWithinObserverNotification, getReceiver, postNotify, preNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDefinitionErrorpublic static void fire(BeanManagerImpl beanManager, Deployment deployment, BeanDeploymentArchiveMapping bdaMapping, Collection<ContextHolder<? extends Context>> contexts)
public void addBean(Bean<?> bean)
addBean in interface AfterBeanDiscoverypublic void addContext(Context context)
addContext in interface AfterBeanDiscoverypublic void addObserverMethod(ObserverMethod<?> observerMethod)
addObserverMethod in interface AfterBeanDiscoverypublic <T> AnnotatedType<T> getAnnotatedType(Class<T> type, String id)
getAnnotatedType in interface AfterBeanDiscoverypublic <T> Iterable<AnnotatedType<T>> getAnnotatedTypes(Class<T> type)
getAnnotatedTypes in interface AfterBeanDiscoverypublic <T> BeanBuilder<T> addBean()
ExperimentalAfterBeanDiscoveryBeanBuilder.build() is invoked automatically and the resulting bean is registered after all observers are notified.addBean in interface ExperimentalAfterBeanDiscoverypublic <T> BeanBuilder<T> beanBuilder()
beanBuilder in interface ExperimentalAfterBeanDiscoveryprotected <T> void processBeanRegistration(org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.BeanRegistration registration)
Copyright © 2015. All Rights Reserved.