Interface ProcessProducerField<T,​X>

  • Type Parameters:
    T - The type of the producer field
    X - The class of the bean declaring the producer field
    All Superinterfaces:
    ProcessBean<X>

    public interface ProcessProducerField<T,​X>
    extends ProcessBean<X>

    The container fires an event of this type for each enabled producer field, before registering the Bean object. Resources are considered to be producer fields.

    If any observer method of a ProcessProducerField 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.

    Author:
    David Allen