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>
The container fires an event of this type for each enabled managed bean, before registering the
Bean object.
If any observer method of a ProcessManagedBean event throws an exception, the exception is treated as a definition
error by the container.
-
Method Summary
Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBean
addDefinitionError, getAnnotated, getBean
-
Method Details
-
getAnnotatedBeanClass
AnnotatedType<X> getAnnotatedBeanClass()Returns theAnnotatedTyperepresenting the bean class.- Returns:
- the
AnnotatedTypefor the bean being registered - Throws:
IllegalStateException- if called outside of the observer method invocation
-