- All Implemented Interfaces:
Serializable,Comparable<Phase>,Constable
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 ConstantsEnum ConstantDescriptionDeprecated, 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 afterPOST_BIND_ALL_MODULESto resolve any latent bindings, prior toSERVICES_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 TypeMethodDescriptionbooleanDeprecated, 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 PhaseDeprecated, 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[]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.
-
Enum Constant Details
-
INIT
Deprecated, for removal: This API element is subject to removal in a future version.Starting state before anything happens activation-wise. -
PENDING
Deprecated, for removal: This API element is subject to removal in a future version.Planned to be activated. -
ACTIVATION_STARTING
Deprecated, for removal: This API element is subject to removal in a future version.Starting to be activated. -
GATHERING_DEPENDENCIES
Deprecated, for removal: This API element is subject to removal in a future version.Gathering dependencies. -
CONSTRUCTING
Deprecated, for removal: This API element is subject to removal in a future version.Constructing. -
INJECTING
Deprecated, for removal: This API element is subject to removal in a future version.Injecting (fields then methods). -
POST_CONSTRUCTING
Deprecated, for removal: This API element is subject to removal in a future version.Calling any post construct method. -
ACTIVATION_FINISHING
Deprecated, for removal: This API element is subject to removal in a future version.Finishing post construct method. -
ACTIVE
Deprecated, for removal: This API element is subject to removal in a future version.Service is active. -
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
Deprecated, for removal: This API element is subject to removal in a future version.Called afterPOST_BIND_ALL_MODULESto resolve any latent bindings, prior toSERVICES_READY. -
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
Deprecated, for removal: This API element is subject to removal in a future version.About to call pre-destroy. -
DESTROYED
Deprecated, for removal: This API element is subject to removal in a future version.Destroyed (after calling any pre-destroy).
-
-
Method Details
-
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
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 nameNullPointerException- 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:
-