X
- The class of the beanpublic interface ProcessSyntheticBean<X> extends ProcessBean<X>
The container fires an event of this type for each custom bean implementation added through
AfterBeanDiscovery.addBean()
or AfterBeanDiscovery.addBean(Bean)
, before registering the
Bean
object.
If any observer method of a ProcessSyntheticBean
event throws an exception, the exception is treated as a definition
error by the container.
Modifier and Type | Method and Description |
---|---|
Extension |
getSource()
Get the extension instance which added the
Bean for which this event is being fired. |
addDefinitionError, getAnnotated, getBean
Extension getSource()
Bean
for which this event is being fired.IllegalStateException
- if called outside of the observer method invocationComments to: cdi-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.