|
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.Mode>
org.jboss.msc.service.ServiceController.Mode
public static enum ServiceController.Mode
The controller mode for a service.
Enum Constant Summary | |
---|---|
ACTIVE
Demand to start, recursively demanding dependencies. |
|
LAZY
Only come up if all dependencies are satisfied and at least one dependent demands to start. |
|
NEVER
Do not start; in addition, ignore demands from dependents. |
|
ON_DEMAND
Only come up if all dependencies are satisfied and at least one dependent demands to start. |
|
PASSIVE
Come up automatically as soon as all dependencies are satisfied. |
|
REMOVE
Remove this service and all of its dependents. |
Method Summary | |
---|---|
static ServiceController.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceController.Mode[] |
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.Mode REMOVE
public static final ServiceController.Mode NEVER
public static final ServiceController.Mode ON_DEMAND
public static final ServiceController.Mode LAZY
UP
state, it will remain that way regardless of demands from dependents.
public static final ServiceController.Mode PASSIVE
public static final ServiceController.Mode ACTIVE
Method Detail |
---|
public static ServiceController.Mode[] values()
for (ServiceController.Mode c : ServiceController.Mode.values()) System.out.println(c);
public static ServiceController.Mode 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
|
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 |