Enum Class Phase

java.lang.Object
java.lang.Enum<Phase>
io.helidon.inject.api.Phase
All Implemented Interfaces:
Serializable, Comparable<Phase>, Constable

@Deprecated(forRemoval=true, since="4.0.8") public enum Phase extends Enum<Phase>
Deprecated, for removal: This API element is subject to removal in a future version.
Helidon inject is deprecated and will be replaced in a future version
Forms a progression of full activation and deactivation.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Finishing post construct method.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Starting to be activated.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Service is active.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructing.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Destroyed (after calling any pre-destroy).
    Deprecated, for removal: This API element is subject to removal in a future version.
    Called after POST_BIND_ALL_MODULES to resolve any latent bindings, prior to SERVICES_READY.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gathering dependencies.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Starting state before anything happens activation-wise.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Injecting (fields then methods).
    Deprecated, for removal: This API element is subject to removal in a future version.
    Planned to be activated.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Called after all modules and services loaded into the service registry.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Calling any post construct method.
    Deprecated, for removal: This API element is subject to removal in a future version.
    About to call pre-destroy.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The service registry is fully populated and ready.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Determines whether this phase passes the gate for whether deactivation (PreDestroy) can be called.
    static Phase
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static Phase[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • INIT

      public static final Phase INIT
      Deprecated, for removal: This API element is subject to removal in a future version.
      Starting state before anything happens activation-wise.
    • PENDING

      public static final Phase PENDING
      Deprecated, for removal: This API element is subject to removal in a future version.
      Planned to be activated.
    • ACTIVATION_STARTING

      public static final Phase ACTIVATION_STARTING
      Deprecated, for removal: This API element is subject to removal in a future version.
      Starting to be activated.
    • GATHERING_DEPENDENCIES

      public static final Phase GATHERING_DEPENDENCIES
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gathering dependencies.
    • CONSTRUCTING

      public static final Phase CONSTRUCTING
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructing.
    • INJECTING

      public static final Phase INJECTING
      Deprecated, for removal: This API element is subject to removal in a future version.
      Injecting (fields then methods).
    • POST_CONSTRUCTING

      public static final Phase POST_CONSTRUCTING
      Deprecated, for removal: This API element is subject to removal in a future version.
      Calling any post construct method.
    • ACTIVATION_FINISHING

      public static final Phase ACTIVATION_FINISHING
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finishing post construct method.
    • ACTIVE

      public static final Phase ACTIVE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Service is active.
    • POST_BIND_ALL_MODULES

      public static final Phase POST_BIND_ALL_MODULES
      Deprecated, for removal: This API element is subject to removal in a future version.
      Called after all modules and services loaded into the service registry.
    • FINAL_RESOLVE

      public static final Phase FINAL_RESOLVE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Called after POST_BIND_ALL_MODULES to resolve any latent bindings, prior to SERVICES_READY.
    • SERVICES_READY

      public static final Phase SERVICES_READY
      Deprecated, for removal: This API element is subject to removal in a future version.
      The service registry is fully populated and ready.
    • PRE_DESTROYING

      public static final Phase PRE_DESTROYING
      Deprecated, for removal: This API element is subject to removal in a future version.
      About to call pre-destroy.
    • DESTROYED

      public static final Phase DESTROYED
      Deprecated, for removal: This API element is subject to removal in a future version.
      Destroyed (after calling any pre-destroy).
  • Method Details

    • values

      public static Phase[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 Phase valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • eligibleForDeactivation

      public boolean eligibleForDeactivation()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Determines whether this phase passes the gate for whether deactivation (PreDestroy) can be called.
      Returns:
      true if this phase is eligible to be included in shutdown processing
      See Also: