|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ContainerState>
org.jboss.weld.ContainerState
public enum ContainerState
Application container instance state
Enum Constant Summary | |
---|---|
INITIALIZED
The container has started and beans have been deployed |
|
SHUTDOWN
The container has been shutdown |
|
STARTING
The container is starting |
|
STOPPED
The container has not been started |
|
VALIDATED
The deployment has been validated |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ContainerState STOPPED
public static final ContainerState STARTING
public static final ContainerState INITIALIZED
public static final ContainerState VALIDATED
public static final ContainerState SHUTDOWN
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic boolean isAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |