|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ServiceController.State>
org.jboss.msc.service.ServiceController.State
public static enum ServiceController.State
A possible state for a service controller.
| Enum Constant Summary | |
|---|---|
DOWN
Down. |
|
REMOVED
Removed from the container. |
|
START_FAILED
Start failed, or was cancelled. |
|
STARTING
Service is starting. |
|
STOPPING
Service is stopping. |
|
UP
Up. |
|
| Method Summary | |
|---|---|
static ServiceController.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceController.State[] |
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 ServiceController.State DOWN
public static final ServiceController.State STARTING
DOWN state. This state may not be left until
the start method has finished or failed.
public static final ServiceController.State START_FAILED
DOWN state.
public static final ServiceController.State UP
public static final ServiceController.State STOPPING
STARTING state. This state may not be left until
all dependents are DOWN and the stop method has finished.
public static final ServiceController.State REMOVED
| Method Detail |
|---|
public static ServiceController.State[] values()
for (ServiceController.State c : ServiceController.State.values()) System.out.println(c);
public static ServiceController.State 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||