Top Description Inners Methods
javax.enterprise.inject

public @Interface Vetoed

extends Annotation
Known Direct Implementers
javax.enterprise.inject.Vetoed.Literal
Annotations
@Target:TYPE, PACKAGE
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, javax.enterprise.event.Event, javax.enterprise.util.AnnotationLiteral

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.

Author
Stuart Douglas
Since
1.1
See Also
JAR File Specification

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Vetoed.Literal

Supports inline instantiation of the Vetoed annotation.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString
javax.enterprise.inject back to summary

public final Class Vetoed.Literal

extends AnnotationLiteral<Vetoed>
implements Vetoed
Class Inheritance
All Implemented Interfaces
javax.enterprise.inject.Vetoed, java.lang.annotation.Annotation

Supports inline instantiation of the Vetoed annotation.
Author
Martin Kouba
Since
2.0
See Also
Instance, Event

Field Summary

Modifier and TypeField and Description
public static final Vetoed.Literal
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from javax.enterprise.util.AnnotationLiteral:
annotationTypeequalshashCodetoString

Field Detail

INSTANCEback to summary
public static final Vetoed.Literal INSTANCE
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.enterprise.util.AnnotationLiteral.serialVersionUID.

Constructor Detail

Literalback to summary
public Literal()