Class Initialized.Literal

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

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

    • REQUEST

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

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

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

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

    • of

      public static Initialized.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()