|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.systinet.wasp.webservice.ServiceState
Enumerates service instance states and allows to convert them into human-readable values.
Field Summary | |
static int |
ACTIVE
Active state representation. |
static int |
DESTROYING
Destroying state representation. |
static int |
DISABLED
Disabled state representation. |
static int |
ENABLED
Enabled state representation. |
static int |
INITIALIZING
Initializing state representation. |
static int |
OFFLINE
Inactive state representation, service can be loaded on demand. |
Constructor Summary | |
ServiceState()
|
Method Summary | |
static java.lang.String |
stringValue(int value)
Gets human-readable representantation of service endpoint state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DISABLED
Service is not loaded in memory and cannot receive requests.
public static final int OFFLINE
Service is not loaded, but can be loaded when needed.
public static final int ENABLED
Service is in memory and able to handle requests.
public static final int ACTIVE
One or more requests are currently in progress in the service.
public static final int DESTROYING
Remaining requests are being processed. If service instance
implements Initializable
interface, destroy
method
is called. After that, all references on service instance are released and
service goes to Disabled
state.
public static final int INITIALIZING
Instantiation of service instance is taking place. If service instance
implements Initializable
interface, init
method
is called. When this initialization finishes, service goes to Enabled
state.
Constructor Detail |
public ServiceState()
Method Detail |
public static java.lang.String stringValue(int value)
value
- one of the constants defined herein
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |