Package jakarta.enterprise.context
Class RequestScoped.Literal
java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<RequestScoped>
jakarta.enterprise.context.RequestScoped.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- RequestScoped
public static final class RequestScoped.Literal
extends AnnotationLiteral<RequestScoped>
implements RequestScoped
Supports inline instantiation of the
RequestScoped annotation.- Since:
- 2.0
- Author:
- Martin Kouba
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.enterprise.context.RequestScoped
RequestScoped.Literal -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RequestScoped.LiteralDefault RequestScoped literal -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Default RequestScoped literal
-
-
Constructor Details
-
Literal
public Literal()
-
-
Method Details
-
annotationType
- Specified by:
annotationTypein interfaceAnnotation- Overrides:
annotationTypein classAnnotationLiteral<RequestScoped>
-
equals
- Specified by:
equalsin interfaceAnnotation- Overrides:
equalsin classAnnotationLiteral<RequestScoped>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAnnotation- Overrides:
hashCodein classAnnotationLiteral<RequestScoped>
-
toString
- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classAnnotationLiteral<RequestScoped>
-