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:
  • Field Details

    • 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 Details

    • of

      public static BeforeDestroyed.Literal of(Class<? extends 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 Class<? extends Annotation> value()