Package jakarta.enterprise.context
Class BeforeDestroyed.Literal
java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<BeforeDestroyed>
jakarta.enterprise.context.BeforeDestroyed.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- BeforeDestroyed
public static final class BeforeDestroyed.Literal
extends AnnotationLiteral<BeforeDestroyed>
implements BeforeDestroyed
Supports inline instantiation of the
BeforeDestroyed
qualifier.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.enterprise.context.BeforeDestroyed
BeforeDestroyed.Literal
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BeforeDestroyed.Literal
Default BeforeDestroyed literal for the ApplicationScoped scopestatic final BeforeDestroyed.Literal
Default BeforeDestroyed literal for the ConversationScoped scopestatic final BeforeDestroyed.Literal
Default BeforeDestroyed literal for the RequestScoped scopestatic final BeforeDestroyed.Literal
Default BeforeDestroyed literal for the SessionScoped scope -
Method Summary
Modifier and TypeMethodDescriptionstatic BeforeDestroyed.Literal
of
(Class<? extends Annotation> value) Obtain the literal for the provided scope annotationClass<? extends Annotation>
value()
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Field Details
-
REQUEST
Default BeforeDestroyed literal for the RequestScoped scope -
CONVERSATION
Default BeforeDestroyed literal for the ConversationScoped scope -
SESSION
Default BeforeDestroyed literal for the SessionScoped scope -
APPLICATION
Default BeforeDestroyed literal for the ApplicationScoped scope
-
-
Method Details
-
of
Obtain the literal for the provided scope annotation- Parameters:
value
- the scope annotation- Returns:
- a new literal value for the provided scope annotation
-
value
-