Package jakarta.enterprise.context
Class Destroyed.Literal
- 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.- Author:
- Martin Kouba
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class jakarta.enterprise.context.DestroyedDestroyed.Literal
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Destroyed.LiteralDefault Destroyed literal for the ApplicationScoped scopestatic final Destroyed.LiteralDefault Destroyed literal for the ConversationScoped scopestatic final Destroyed.LiteralDefault Destroyed literal for the RequestScoped scopestatic final Destroyed.LiteralDefault Destroyed literal for the SessionScoped scope
- 
Method SummaryModifier and TypeMethodDescriptionstatic Destroyed.Literalof(Class<? extends Annotation> value) Obtain the literal of the provided scope annotationClass<? extends Annotation> value()Methods inherited from class jakarta.enterprise.util.AnnotationLiteralannotationType, equals, hashCode, toString
- 
Field Details- 
REQUESTDefault Destroyed literal for the RequestScoped scope
- 
CONVERSATIONDefault Destroyed literal for the ConversationScoped scope
- 
SESSIONDefault Destroyed literal for the SessionScoped scope
- 
APPLICATIONDefault Destroyed literal for the ApplicationScoped scope
 
- 
- 
Method Details- 
ofObtain the literal of the provided scope annotation- Parameters:
- value- the scope annotation
- Returns:
- a new Literal value for the provided scope annotation
 
- 
value
 
-