Enum Class ActivationPhase

java.lang.Object
java.lang.Enum<ActivationPhase>
io.helidon.service.registry.ActivationPhase
All Implemented Interfaces:
Serializable, Comparable<ActivationPhase>, Constable

public enum ActivationPhase extends Enum<ActivationPhase>
Progression of activation of a managed service instance.
  • Enum Constant Details

    • INIT

      public static final ActivationPhase INIT
      Starting state before anything happens activation-wise. Service registry is aware. Initialization may be done here.
    • ACTIVATION_STARTING

      public static final ActivationPhase ACTIVATION_STARTING
      Starting to be activated.
    • CONSTRUCTING

      public static final ActivationPhase CONSTRUCTING
      Constructing.
    • INJECTING

      public static final ActivationPhase INJECTING
      Injecting (fields then methods).
    • POST_CONSTRUCTING

      public static final ActivationPhase POST_CONSTRUCTING
      Calling any post construct method.
    • ACTIVATION_FINISHING

      public static final ActivationPhase ACTIVATION_FINISHING
      Finishing post construct method.
    • ACTIVE

      public static final ActivationPhase ACTIVE
      Service is active.
    • PRE_DESTROYING

      public static final ActivationPhase PRE_DESTROYING
      About to call pre-destroy.
    • DESTROYED

      public static final ActivationPhase DESTROYED
      Destroyed (after calling any pre-destroy). This is a final state.
  • Method Details

    • values

      public static ActivationPhase[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ActivationPhase valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null