Module jakarta.cdi

Annotation Type Vetoed


  • @Target({TYPE,PACKAGE})
    @Retention(RUNTIME)
    @Documented
    public @interface Vetoed

    Veto the processing of the class. Any beans or observer methods defined by this class will not be installed.

    When placed on package, all beans in the package are prevented from being installed. If packages are split across jars, non-portable behavior results. An application can prevent packages being split across jars by sealing the package.

    No container lifecycle events are fired for classes annotated Vetoed.

    Since:
    1.1
    Author:
    Stuart Douglas
    See Also:
    JAR File Specification