Class Destroyed.Literal

java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<Destroyed>
jakarta.enterprise.context.Destroyed.Literal
All Implemented Interfaces:
Annotation
Enclosing class:
Destroyed

public static final class Destroyed.Literal extends AnnotationLiteral<Destroyed> implements Destroyed
Supports inline instantiation of the Destroyed qualifier.
Author:
Martin Kouba
See Also:
  • Field Details

    • REQUEST

      public static final Destroyed.Literal REQUEST
      Default Destroyed literal for the RequestScoped scope
    • CONVERSATION

      public static final Destroyed.Literal CONVERSATION
      Default Destroyed literal for the ConversationScoped scope
    • SESSION

      public static final Destroyed.Literal SESSION
      Default Destroyed literal for the SessionScoped scope
    • APPLICATION

      public static final Destroyed.Literal APPLICATION
      Default Destroyed literal for the ApplicationScoped scope
  • Method Details

    • of

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