|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use State | |
| org.huihoo.jfox.service | |
| Uses of State in org.huihoo.jfox.service |
| Fields in org.huihoo.jfox.service declared as State | |
protected State |
ComponentSupport.state
the status value of the service |
static State |
State.ORIGINAL
|
static State |
State.INITIALIZING
INITIALIZING, service is in initializing, doCreate() |
static State |
State.INITIALIZED
INITIALIZED, service is initialized |
static State |
State.STARTING
STOPPING, service is in starting |
static State |
State.STARTED
STARTED, service has started |
static State |
State.STOPPING
STOPPING, service is in stopping |
static State |
State.STOPPED
STOPPED, service stopped by user |
static State |
State.DESTROYING
DESTROYING, service is in destroying |
static State |
State.DESTROYED
DESTROYED, service stopped and it's resource destoryed, example: it's connection closed |
static State |
State.INTERRUPTED
INTERRUPPTED, service interrupted because of some error or exception |
| Methods in org.huihoo.jfox.service that return State | |
State |
ComponentSupport.getState()
|
State |
Component.getState()
get the state of the Service, the status defined in Status class |
| Methods in org.huihoo.jfox.service with parameters of type State | |
static boolean |
State.canInit(State state)
|
static boolean |
State.canStart(State state)
|
static boolean |
State.canStop(State state)
|
static boolean |
State.canDestroy(State state)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||