- 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.
 
CDI Lite implementations are not required to provide support for Portable Extensions.
- 
Method SummaryModifier and TypeMethodDescriptionInvokerBuilder<Invoker<X, ?>> createInvoker(AnnotatedMethod<? super X> method) Returns a newInvokerBuilderfor given method.Returns theAnnotatedTyperepresenting the bean class.Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBeanaddDefinitionError, getAnnotated, getBean
- 
Method Details- 
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
 
- 
createInvokerReturns a newInvokerBuilderfor given method. The builder eventually produces an invoker for the given method.The methodmust be declared on the bean class or inherited from a supertype of the bean class of the bean being registered, otherwise an exception is thrown.- Parameters:
- method- method of the bean being registered, must not be- null
- Returns:
- the invoker builder, never null
- Since:
- 4.1
 
 
-