@Target(value={TYPE,PACKAGE}) @Retention(value=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
.
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.