uk.co.lakesidetech.springxmldb.startup.exist
Class ExistStandaloneServer

java.lang.Object
  extended byuk.co.lakesidetech.springxmldb.startup.exist.ExistEmbeddedServer
      extended byuk.co.lakesidetech.springxmldb.startup.exist.ExistStandaloneServer
All Implemented Interfaces:
IXMLDBServerStartup

public class ExistStandaloneServer
extends ExistEmbeddedServer
implements IXMLDBServerStartup

The ExistStandaloneServer will startup an embedded XML database which can be connected to in the same JVM be using a xmldb:$databasename:/// database uri for the database.

The ExistStandaloneServer will also startup a http access and xmlrpc server access to the XML database on the ports set in the property configuration

Author:
Stuart Eccles

Field Summary
 
Fields inherited from class uk.co.lakesidetech.springxmldb.startup.exist.ExistEmbeddedServer
configurationFile, databaseName, shutdownListener, shutdownPassword, shutdownUser, threads
 
Constructor Summary
ExistStandaloneServer()
           
 
Method Summary
 void setXmlrpcPort(int xmlrpcPort)
           
 void shutdown()
          shutdown the XML database server and the HTTP and XMLRPC servers
 void startup()
          start the xml database and a HTTP server and XMLRPC server on the indicated ports
 
Methods inherited from class uk.co.lakesidetech.springxmldb.startup.exist.ExistEmbeddedServer
createExistConfiguration, setConfigurationFile, setDatabaseName, setShutdownListener, setShutdownPassword, setShutdownUser, setThreads
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExistStandaloneServer

public ExistStandaloneServer()
Method Detail

setXmlrpcPort

public void setXmlrpcPort(int xmlrpcPort)
Parameters:
xmlrpcPort - The xmlrpcPort to set.

startup

public void startup()
start the xml database and a HTTP server and XMLRPC server on the indicated ports

Specified by:
startup in interface IXMLDBServerStartup
Overrides:
startup in class ExistEmbeddedServer
See Also:
IXMLDBServerStartup.startup()

shutdown

public void shutdown()
shutdown the XML database server and the HTTP and XMLRPC servers

Specified by:
shutdown in interface IXMLDBServerStartup
Overrides:
shutdown in class ExistEmbeddedServer
See Also:
IXMLDBServerStartup.shutdown()