- All Implemented Interfaces:
Serializable
,Comparable<ActivationPhase>
,Constable
Progression of activation of a managed service instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFinishing post construct method.Starting to be activated.Service is active.Constructing.Destroyed (after calling any pre-destroy).Starting state before anything happens activation-wise.Injecting (fields then methods).Calling any post construct method.About to call pre-destroy. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivationPhase
Returns the enum constant of this class with the specified name.static ActivationPhase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INIT
Starting state before anything happens activation-wise. Service registry is aware. Initialization may be done here. -
ACTIVATION_STARTING
Starting to be activated. -
CONSTRUCTING
Constructing. -
INJECTING
Injecting (fields then methods). -
POST_CONSTRUCTING
Calling any post construct method. -
ACTIVATION_FINISHING
Finishing post construct method. -
ACTIVE
Service is active. -
PRE_DESTROYING
About to call pre-destroy. -
DESTROYED
Destroyed (after calling any pre-destroy). This is a final state.
-
-
Method Details
-
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
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
-