|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GlassFish.Status>
org.glassfish.embeddable.GlassFish.Status
public static enum GlassFish.Status
Represents the status of GlassFish.
| Enum Constant Summary | |
|---|---|
DISPOSED
GlassFish is disposed and ready to be garbage collected. |
|
INIT
Initial state of a newly created GlassFish. |
|
STARTED
GlassFish is up and running. |
|
STARTING
GlassFish is being started. |
|
STOPPED
GlassFish is stopped. |
|
STOPPING
GlassFish is being stopped. |
|
| Method Summary | |
|---|---|
static GlassFish.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GlassFish.Status[] |
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 GlassFish.Status INIT
GlassFishRuntime.newGlassFish()
before performing any lifecycle operations.
public static final GlassFish.Status STARTING
GlassFish.start() has been called
until the GlassFish is fully started.
public static final GlassFish.Status STARTED
GlassFish.start() has fully
started the GlassFish.
public static final GlassFish.Status STOPPING
GlassFish.stop() has been
called until the GlassFish is fully stopped.
public static final GlassFish.Status STOPPED
GlassFish.stop() has
fully stopped the GlassFish.
public static final GlassFish.Status DISPOSED
GlassFish.dispose() or
GlassFishRuntime.shutdown() has been called.
| Method Detail |
|---|
public static GlassFish.Status[] values()
for (GlassFish.Status c : GlassFish.Status.values()) System.out.println(c);
public static GlassFish.Status 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 | |||||||||