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