Class BeforeDestroyed.Literal

    • 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()