|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.client.xmlrpc.ConnectionManager
com.dbxml.db.client.xmlrpc.dbXMLClientImpl
dbXMLClientImpl
Field Summary |
Fields inherited from class com.dbxml.db.client.xmlrpc.ConnectionManager |
CONNECTION, SECURE, STANDARD |
Fields inherited from interface com.dbxml.db.client.dbXMLClient |
ALT_HOST, ALT_PASS, ALT_PORT, ALT_USER, HOST, PASS, PORT, USER |
Constructor Summary | |
dbXMLClientImpl()
|
Method Summary | |
void |
connect()
connect instructs the client to connect to the server. |
void |
disconnect()
disconnect instructs the client to disconnect from the server. |
CollectionClient |
getCollection(java.lang.String childPath)
getCollection returns the CollectionClient defined by the specified path. |
ContentClient |
getContent(java.lang.String docPath)
getContent returns the ContentClient defined by the specified path. |
CollectionClient |
getDatabase()
getDatabase returns the Database instance as a CollectionClient. |
java.lang.String |
getServerVersion()
getServerVersion returns a string that includes the name and current version of the server that is currently connected. |
void |
shutdown(int exitCode)
shutdown shuts down the server with the specified exit code. |
Methods inherited from class com.dbxml.db.client.xmlrpc.ConnectionManager |
execute, executeBinary, executeBoolean, executeInt, executeList, executeMap, executeString, getClientPath, getProperties, getProperty, getXmlRpcClient, listProperties, setClientPath, setProperty |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.dbxml.db.client.dbXMLClient |
getProperties, getProperty, listProperties, setProperty |
Constructor Detail |
public dbXMLClientImpl()
Method Detail |
public void connect() throws dbXMLException
dbXMLClient
connect
in interface dbXMLClient
dbXMLException
public void disconnect() throws dbXMLException
dbXMLClient
disconnect
in interface dbXMLClient
dbXMLException
public java.lang.String getServerVersion() throws dbXMLException
dbXMLClient
getServerVersion
in interface dbXMLClient
dbXMLException
public void shutdown(int exitCode) throws dbXMLException
dbXMLClient
shutdown
in interface dbXMLClient
exitCode
- The exit code to use
dbXMLException
public CollectionClient getDatabase() throws dbXMLException
dbXMLClient
getDatabase
in interface dbXMLClient
dbXMLException
public CollectionClient getCollection(java.lang.String childPath) throws dbXMLException
dbXMLClient
getCollection
in interface dbXMLClient
childPath
- The Collection path
dbXMLException
public ContentClient getContent(java.lang.String docPath) throws dbXMLException
dbXMLClient
getContent
in interface dbXMLClient
docPath
- The Document path
dbXMLException
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |