Package jakarta.enterprise.context
Class BeforeDestroyed.Literal
- java.lang.Object
-
- jakarta.enterprise.util.AnnotationLiteral<BeforeDestroyed>
-
- jakarta.enterprise.context.BeforeDestroyed.Literal
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Enclosing class:
- BeforeDestroyed
public static final class BeforeDestroyed.Literal extends AnnotationLiteral<BeforeDestroyed> implements BeforeDestroyed
Supports inline instantiation of theBeforeDestroyed
qualifier.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jakarta.enterprise.context.BeforeDestroyed
BeforeDestroyed.Literal
-
-
Field Summary
Fields Modifier and Type Field Description static BeforeDestroyed.Literal
APPLICATION
Default BeforeDestroyed literal for the ApplicationScoped scopestatic BeforeDestroyed.Literal
CONVERSATION
Default BeforeDestroyed literal for the ConversationScoped scopestatic BeforeDestroyed.Literal
REQUEST
Default BeforeDestroyed literal for the RequestScoped scopestatic BeforeDestroyed.Literal
SESSION
Default BeforeDestroyed literal for the SessionScoped scope
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BeforeDestroyed.Literal
of(java.lang.Class<? extends java.lang.annotation.Annotation> value)
Obtain the literal for the provided scope annotationjava.lang.Class<? extends java.lang.annotation.Annotation>
value()
-
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
-
-
-
Field Detail
-
REQUEST
public static final BeforeDestroyed.Literal REQUEST
Default BeforeDestroyed literal for the RequestScoped scope
-
CONVERSATION
public static final BeforeDestroyed.Literal CONVERSATION
Default BeforeDestroyed literal for the ConversationScoped scope
-
SESSION
public static final BeforeDestroyed.Literal SESSION
Default BeforeDestroyed literal for the SessionScoped scope
-
APPLICATION
public static final BeforeDestroyed.Literal APPLICATION
Default BeforeDestroyed literal for the ApplicationScoped scope
-
-
Method Detail
-
of
public static BeforeDestroyed.Literal of(java.lang.Class<? extends java.lang.annotation.Annotation> value)
Obtain the literal for the provided scope annotation- Parameters:
value
- the scope annotation- Returns:
- a new literal value for the provided scope annotation
-
value
public java.lang.Class<? extends java.lang.annotation.Annotation> value()
-
-