|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.co.lakesidetech.springxmldb.startup.xindice.XindiceManagedServer
The XindiceManagedServer
will start up a local embedded managed
instance of Xindice without XMLRPC access. The database can be accessed through a
Driver class of org.apache.xindice.client.xmldb.DatabaseImpl and a url of
xmldb:xindice-embed://
The startup bean needs to indicate the location of configuration file otherwise the startup will use a default configuration with a database name of db and a directory root of ./db
Field Summary | |
static java.lang.String |
DEFAULT_CONFIGURATION
|
Constructor Summary | |
XindiceManagedServer()
|
Method Summary | |
protected org.apache.xindice.util.Configuration |
createXindiceConfiguration()
Create a Xindice configuration from the indicated Resource configuration file. |
void |
setConfigurationFile(org.springframework.core.io.Resource configurationFile)
|
void |
setDatabaseRootLocation(org.springframework.core.io.Resource databaseRootLocation)
|
void |
shutdown()
shutdown this Xindice embedded database |
void |
startup()
startup the Xindice embedded database |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_CONFIGURATION
Constructor Detail |
public XindiceManagedServer()
Method Detail |
public void setConfigurationFile(org.springframework.core.io.Resource configurationFile)
configurationFile
- The configurationFile to set.public void setDatabaseRootLocation(org.springframework.core.io.Resource databaseRootLocation)
public void startup()
startup
in interface IXMLDBServerStartup
IXMLDBServerStartup.startup()
public void shutdown()
shutdown
in interface IXMLDBServerStartup
IXMLDBServerStartup.shutdown()
protected org.apache.xindice.util.Configuration createXindiceConfiguration() throws java.io.IOException, org.apache.xindice.util.XindiceException
java.io.IOException
- if the configuration file cant be found
org.apache.xindice.util.XindiceException
- if the configuration is wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |