Annotation Interface 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
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Supports inline instantiation of the Vetoed annotation.