public enum ContainerState extends Enum<ContainerState>
Enum Constant and Description |
---|
DEPLOYED
The container has started and beans have been deployed
|
INITIALIZED
The container finished initialization and is serving requests
|
SHUTDOWN
The container has been shutdown
|
STARTING
The container is starting
|
STOPPED
The container has not been started
|
VALIDATED
The deployment has been validated
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailable()
Whether the container is available for use
|
static ContainerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerState STOPPED
public static final ContainerState STARTING
public static final ContainerState DEPLOYED
public static final ContainerState VALIDATED
public static final ContainerState INITIALIZED
public static final ContainerState SHUTDOWN
public static ContainerState[] values()
for (ContainerState c : ContainerState.values()) System.out.println(c);
public static ContainerState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isAvailable()
Copyright © 2014 Seam Framework. All Rights Reserved.