public abstract class AbstractBeanDiscoveryEvent extends AbstractDefinitionContainerEvent implements NotificationListener
| Constructor and Description |
|---|
AbstractBeanDiscoveryEvent(BeanManagerImpl beanManager,
Type rawType,
BeanDeploymentArchiveMapping bdaMapping,
Deployment deployment,
Collection<ContextHolder<? extends Context>> contexts) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkWithinObserverNotification()
Checks that this event is currently being delivered to an extension.
|
protected BeanDeploymentArchiveMapping |
getBeanDeployments() |
protected Deployment |
getDeployment() |
protected BeanDeployment |
getOrCreateBeanDeployment(Class<?> clazz) |
protected Extension |
getSyntheticAnnotatedTypeSource() |
protected TypeStore |
getTypeStore() |
void |
postNotify(Extension extension) |
void |
preNotify(Extension extension) |
firegetActualTypeArguments, getBeanManager, getErrors, getRawTypepublic AbstractBeanDiscoveryEvent(BeanManagerImpl beanManager, Type rawType, BeanDeploymentArchiveMapping bdaMapping, Deployment deployment, Collection<ContextHolder<? extends Context>> contexts)
protected BeanDeploymentArchiveMapping getBeanDeployments()
protected Deployment getDeployment()
protected TypeStore getTypeStore()
protected BeanDeployment getOrCreateBeanDeployment(Class<?> clazz)
public void preNotify(Extension extension)
preNotify in interface NotificationListenerpublic void postNotify(Extension extension)
postNotify in interface NotificationListenerprotected Extension getSyntheticAnnotatedTypeSource()
protected void checkWithinObserverNotification()
IllegalStateException
is thrown. This guarantees that methods of container lifecycle events are not called outside of extension
observer method invocations.IllegalStateException - if this method is not called within extension observer method invocationCopyright © 2014 Seam Framework. All Rights Reserved.