public static enum GlassFish.Status extends Enum<GlassFish.Status>
GlassFish
.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.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 nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.