|
dbXML API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.dbxml.server.SimpleConfigurable | +--org.dbxml.core.server.services.dbXMLService
dbXMLService controls the dbXML server instance. TODO: We need to properly handle the control states for services.
Fields inherited from interface org.dbxml.server.Service |
RESULT_BUSY, RESULT_FAILED, RESULT_INVALID, RESULT_OK, STATE_STARTED, STATE_STOPPED, STATE_SUSPENDED |
Constructor Summary | |
dbXMLService()
|
Method Summary | |
Database |
getDatabase()
Returns the Database instance for the currently running server. |
java.lang.String |
getName()
getName retrieves the contextually important name of the object |
int |
initialize()
|
int |
resume()
resume resumes exection of a suspended Service. |
void |
setConfig(org.dbxml.server.Configuration config)
|
void |
setKernel(org.dbxml.server.Kernel kernel)
|
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.dbxml.server.SimpleConfigurable |
getConfig |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public dbXMLService()
Method Detail |
public void setConfig(org.dbxml.server.Configuration config) throws org.dbxml.server.dbXMLException
setConfig
in class org.dbxml.server.SimpleConfigurable
public int initialize()
initialize
in interface org.dbxml.server.Service
public Database getDatabase()
public void setKernel(org.dbxml.server.Kernel kernel)
setKernel
in interface org.dbxml.server.KernelAccess
public int status()
status
in interface org.dbxml.server.Service
public java.lang.String statusMessage()
statusMessage
in interface org.dbxml.server.Service
public int start()
start
in interface org.dbxml.server.Service
public int stop()
stop
in interface org.dbxml.server.Service
public int suspend()
suspend
in interface org.dbxml.server.Service
public int resume()
resume
in interface org.dbxml.server.Service
public int uninitialize()
uninitialize
in interface org.dbxml.server.Service
public java.lang.String getName()
getName
in interface org.dbxml.server.Named
|
dbXML API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |