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
FieldsModifier and TypeFieldDescriptionstatic final BeforeDestroyed.LiteralDefault BeforeDestroyed literal for the ApplicationScoped scopestatic final BeforeDestroyed.LiteralDefault BeforeDestroyed literal for the ConversationScoped scopestatic final BeforeDestroyed.LiteralDefault BeforeDestroyed literal for the RequestScoped scopestatic final BeforeDestroyed.LiteralDefault BeforeDestroyed literal for the SessionScoped scope -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>booleaninthashCode()static BeforeDestroyed.Literalof(Class<? extends Annotation> value) Obtain the literal for the provided scope annotationtoString()Class<? extends Annotation>value()
-
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
-
annotationType
- Specified by:
annotationTypein interfaceAnnotation- Overrides:
annotationTypein classAnnotationLiteral<BeforeDestroyed>
-
equals
- Specified by:
equalsin interfaceAnnotation- Overrides:
equalsin classAnnotationLiteral<BeforeDestroyed>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAnnotation- Overrides:
hashCodein classAnnotationLiteral<BeforeDestroyed>
-
toString
- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classAnnotationLiteral<BeforeDestroyed>
-