Package jakarta.enterprise.inject.spi
Interface ProcessManagedBean<X>
- 
- Type Parameters:
- X- The class of the bean
 - All Superinterfaces:
- ProcessBean<X>
 - All Known Subinterfaces:
- ProcessSessionBean<X>
 
 public interface ProcessManagedBean<X> extends ProcessBean<X> The container fires an event of this type for each enabled managed bean, before registering the Beanobject.If any observer method of a ProcessManagedBeanevent 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. - Author:
- David Allen
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotatedType<X>getAnnotatedBeanClass()Returns theAnnotatedTyperepresenting the bean class.- 
Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBeanaddDefinitionError, getAnnotated, getBean
 
- 
 
- 
- 
- 
Method Detail- 
getAnnotatedBeanClassAnnotatedType<X> getAnnotatedBeanClass() Returns theAnnotatedTyperepresenting the bean class.- Returns:
- the AnnotatedTypefor the bean being registered
- Throws:
- IllegalStateException- if called outside of the observer method invocation
 
 
- 
 
-