The container fires an event of this type for each enabled bean, interceptor or decorator deployed in a bean archive, before
registering the Bean object.
The event object type depends upon what kind of bean was discovered:
ProcessManagedBean.ProcessSessionBean.ProcessProducerMethod.ProcessProducerField.Bean, the container must raise an event of type ProcessSyntheticBean.Resources are considered to be producer fields.
If any observer method of a ProcessBean event throws an exception, the exception is treated as a definition error by
the container.
CDI Lite implementations are not required to provide support for Portable Extensions.
Bean
| Modifier and Type | Method and Description |
|---|---|
| public void | addDefinitionError(Throwable
The definition error to register as a t)java.Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete. |
| public Annotated | Returns: theAnnotated for the bean being registeredReturns the |
| public Bean |
| addDefinitionError | back to summary |
|---|---|
| public void addDefinitionError(Throwable t) Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
| |
| getAnnotated | back to summary |
|---|---|
| public Annotated getAnnotated() Returns the
If invoked upon a
| |
| getBean | back to summary |
|---|---|
| public Bean Returns the
| |