T- The return type of the producer method
X- The class of the bean declaring the producer method
public interface ProcessProducerMethod<T,X> extends ProcessBean<X>
The container fires an event of this type for each enabled producer method, before registering the
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|
AnnotatedMethodrepresenting the producer method.
AnnotatedMethodfor the producer method being registered
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.