public enum LifecycleState extends java.lang.Enum<LifecycleState>
| Enum Constant and Description |
|---|
ACTIVE
Completely ready for use
|
ERROR
There was an exception during warm-up/cool-down for this object
|
LATENT
Not managed, unknown, etc.
|
POST_CONSTRUCTING
Calling PostConstruct methods
|
PRE_CONFIGURATION
Calling PreConfiguration methods
|
PRE_DESTROYING
Calling PreDestroy methods (state will change to LATENT after this)
|
PRE_WARMING_UP
Preparing to call warm-up methods
|
SETTING_CONFIGURATION
Assigning configuration values
|
SETTING_RESOURCES
Loading/assigning Resources
|
WARMING_UP
Calling warm-up methods
|
| Modifier and Type | Method and Description |
|---|---|
static LifecycleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleState LATENT
public static final LifecycleState SETTING_RESOURCES
public static final LifecycleState PRE_CONFIGURATION
public static final LifecycleState SETTING_CONFIGURATION
public static final LifecycleState POST_CONSTRUCTING
public static final LifecycleState PRE_WARMING_UP
public static final LifecycleState WARMING_UP
public static final LifecycleState ACTIVE
public static final LifecycleState PRE_DESTROYING
public static final LifecycleState ERROR
public static LifecycleState[] values()
for (LifecycleState c : LifecycleState.values()) System.out.println(c);
public static LifecycleState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null