|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ServiceController.Substate>
org.jboss.msc.service.ServiceController.Substate
public static enum ServiceController.Substate
A fine-grained substate of the more general basic controller ServiceController.State
s. The list of possible
substates may change over time, so users should not rely on its permanence.
Enum Constant Summary | |
---|---|
CANCELLED
Cancelled controller installation due to duplicate or other problem. |
|
DOWN
Controller is down. |
|
NEW
New controller being installed. |
|
PROBLEM
Controller cannot start due to a problem with a dependency or transitive dependency. |
|
REMOVED
Service has been removed. |
|
REMOVING
Service is being removed. |
|
START_FAILED
Start failed. |
|
START_INITIATING
First phase of start processing. |
|
START_REQUESTED
A stopped controller has been requested to start. |
|
STARTING
Second phase of start processing ( start() method invoked). |
|
STOP_REQUESTED
Service is up but has been requested to stop. |
|
STOPPING
Service is stopping. |
|
UP
Service is up. |
|
WAITING
Controller is waiting for an external condition to start, such as a dependent demand. |
|
WONT_START
Controller is configured not to start. |
Method Summary | |
---|---|
ServiceController.State |
getState()
Get the state corresponding to this sub-state. |
boolean |
isRestState()
Determine whether this is a "rest" state. |
static ServiceController.Substate |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceController.Substate[] |
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.Substate NEW
public static final ServiceController.Substate CANCELLED
public static final ServiceController.Substate DOWN
public static final ServiceController.Substate WAITING
public static final ServiceController.Substate WONT_START
public static final ServiceController.Substate PROBLEM
public static final ServiceController.Substate START_REQUESTED
public static final ServiceController.Substate START_INITIATING
public static final ServiceController.Substate STARTING
start()
method invoked).
public static final ServiceController.Substate START_FAILED
public static final ServiceController.Substate UP
public static final ServiceController.Substate STOP_REQUESTED
public static final ServiceController.Substate STOPPING
public static final ServiceController.Substate REMOVING
public static final ServiceController.Substate REMOVED
Method Detail |
---|
public static ServiceController.Substate[] values()
for (ServiceController.Substate c : ServiceController.Substate.values()) System.out.println(c);
public static ServiceController.Substate 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 isRestState()
true
if it is a rest state, false
otherwisepublic ServiceController.State getState()
|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |