|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Services are implemented to provide a daemon process for various purposes. The most general implementation of a Service is to provide a Socket based service, but Services can be written to function in just about any capacity.
ServiceManager
Field Summary | |
static int |
RESULT_BUSY
|
static int |
RESULT_FAILED
|
static int |
RESULT_INVALID
|
static int |
RESULT_OK
|
static int |
STATE_STARTED
|
static int |
STATE_STOPPED
|
static int |
STATE_SUSPENDED
|
Method Summary | |
int |
initialize()
initialize will initialize the Service based on its current configuration. |
int |
resume()
resume resumes exection of a suspended Service. |
int |
start()
start will attempt to start the Service. |
int |
status()
status returns the current operational status of this Service. |
java.lang.String |
statusMessage()
statusMessage returns a textual message about the Service's operational state. |
int |
stop()
stop will attempt to stop the Service. |
int |
suspend()
suspend suspends execution of the Service. |
int |
uninitialize()
uninitialize will uninitialize the Service based on its current configuration and will clean up any existing resources for that configuration. |
Methods inherited from interface org.apache.xindice.util.Named |
getName |
Field Detail |
public static final int STATE_STOPPED
public static final int STATE_STARTED
public static final int STATE_SUSPENDED
public static final int RESULT_OK
public static final int RESULT_BUSY
public static final int RESULT_FAILED
public static final int RESULT_INVALID
Method Detail |
public int status()
public java.lang.String statusMessage()
public int initialize()
public int start()
public int stop()
public int suspend()
public int resume()
public int uninitialize()
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |