|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.util.SimpleConfigurable | +--org.apache.xindice.server.services.APIService
APIService provides a simple bootstrap for the CORBA API
Fields inherited from interface org.apache.xindice.server.Service |
RESULT_BUSY, RESULT_FAILED, RESULT_INVALID, RESULT_OK, STATE_STARTED, STATE_STOPPED, STATE_SUSPENDED |
Constructor Summary | |
APIService()
|
Method Summary | |
java.lang.String |
getName()
getName retrieves the contextually important name of the object |
int |
initialize()
initialize will initialize the Service based on its current configuration. |
int |
resume()
resume resumes exection of a suspended Service. |
void |
run()
|
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
void |
setKernel(Kernel kernel)
setKernel provides a Kernel callback interface to the implementing object. |
void |
setServiceManager(ServiceManager serviceManager)
Provides access to the ServiceManager instance so that the service can control other services within the system. |
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 class org.apache.xindice.util.SimpleConfigurable |
getConfig |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public APIService()
Method Detail |
public void setConfig(Configuration config) throws XindiceException
Configurable
setConfig
in class SimpleConfigurable
org.apache.xindice.util.Configurable
config
- The configuration Nodepublic int initialize()
Service
initialize
in interface Service
org.apache.xindice.server.Service
public void setServiceManager(ServiceManager serviceManager)
ManagerService
setServiceManager
in interface ManagerService
org.apache.xindice.server.ManagerService
manager
- The service manager to use.public void run()
run
in interface java.lang.Runnable
public void setKernel(Kernel kernel)
KernelAccess
setKernel
in interface KernelAccess
org.apache.xindice.server.KernelAccess
kernel
- the Kernel referencepublic int status()
status
in interface Service
public java.lang.String statusMessage()
statusMessage
in interface Service
public int start()
start
in interface Service
public int stop()
stop
in interface Service
public int suspend()
suspend
in interface Service
public int resume()
resume
in interface Service
public int uninitialize()
uninitialize
in interface Service
public java.lang.String getName()
getName
in interface Named
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |