Module jakarta.cdi

Interface ProcessManagedBean<X>

  • Type Parameters:
    X - The class of the bean
    All Superinterfaces:
    All Known Subinterfaces:

    public interface ProcessManagedBean<X>
    extends ProcessBean<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.

    David Allen
    • Method Detail

      • getAnnotatedBeanClass

        AnnotatedType<X> getAnnotatedBeanClass()
        Returns the AnnotatedType representing the bean class.
        the AnnotatedType for the bean being registered
        java.lang.IllegalStateException - if called outside of the observer method invocation