T - The return type of the producer methodX - The class of the bean declaring the producer methodpublic interface ProcessProducerMethod<T,X> extends 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.
 
| Modifier and Type | Method and Description | 
|---|---|
| AnnotatedParameter<T> | getAnnotatedDisposedParameter()Returns the  AnnotatedParameterfor any matching injection point of the same type as
 the producer method return type found on a disposal method. | 
| AnnotatedMethod<T> | getAnnotatedProducerMethod()Returns the  AnnotatedMethodrepresenting the producer method. | 
addDefinitionError, getAnnotated, getBeanAnnotatedMethod<T> getAnnotatedProducerMethod()
AnnotatedMethod representing the producer method.AnnotatedMethod for the producer method being registeredIllegalStateException - if called outside of the observer method invocationAnnotatedParameter<T> getAnnotatedDisposedParameter()
AnnotatedParameter for any matching injection point of the same type as
 the producer method return type found on a disposal method.AnnotatedParameterIllegalStateException - if called outside of the observer method invocationCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.