- Type Parameters:
- T- The return type of the producer method
- X- The class of the bean declaring the producer method
- All Superinterfaces:
- ProcessBean<X>
 The container fires an event of this type for each enabled producer method, before registering the
 Bean object.
 
 If any observer method of a ProcessProducerMethod 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 TypeMethodDescriptionReturns theAnnotatedParameterfor any matching injection point of the same type as the producer method return type found on a disposal method.Returns theAnnotatedMethodrepresenting the producer method.Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBeanaddDefinitionError, getAnnotated, getBean
- 
Method Details- 
getAnnotatedProducerMethodAnnotatedMethod<T> getAnnotatedProducerMethod()Returns theAnnotatedMethodrepresenting the producer method.- Returns:
- the AnnotatedMethodfor the producer method being registered
- Throws:
- IllegalStateException- if called outside of the observer method invocation
 
- 
getAnnotatedDisposedParameterAnnotatedParameter<T> getAnnotatedDisposedParameter()Returns theAnnotatedParameterfor any matching injection point of the same type as the producer method return type found on a disposal method.- Returns:
- the disposal method's AnnotatedParameter
- Throws:
- IllegalStateException- if called outside of the observer method invocation
 
 
-