Package jakarta.enterprise.context
Class Initialized.Literal
java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<Initialized>
jakarta.enterprise.context.Initialized.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
Initialized
public static final class Initialized.Literal
extends AnnotationLiteral<Initialized>
implements Initialized
Supports inline instantiation of the
Initialized
qualifier.- Author:
- Martin Kouba
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.enterprise.context.Initialized
Initialized.Literal
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Initialized.Literal
Default Initialized literal for the ApplicationScoped scopestatic final Initialized.Literal
Default Initialized literal for the ConversationScoped scopestatic final Initialized.Literal
Default Initialized literal for the RequestScoped scopestatic final Initialized.Literal
Default Initialized literal for the SessionScoped scope -
Method Summary
Modifier and TypeMethodDescriptionstatic Initialized.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 Initialized literal for the RequestScoped scope -
CONVERSATION
Default Initialized literal for the ConversationScoped scope -
SESSION
Default Initialized literal for the SessionScoped scope -
APPLICATION
Default Initialized 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
-