org.exist.xmldb
Interface DatabaseInstanceManager

All Superinterfaces:
Configurable, Service
All Known Implementing Classes:
DatabaseInstanceManagerImpl, LocalDatabaseInstanceManager

public interface DatabaseInstanceManager
extends Service

A service to manage the database instance. The service defines a single method shutdown() to shut down the database instance used by the current driver.


Method Summary
 DatabaseStatus getStatus()
           
 boolean isLocalInstance()
          Returns true if the database instance is running local, i.e.
 void shutdown()
           
 
Methods inherited from interface org.xmldb.api.base.Service
getName, getVersion, setCollection
 
Methods inherited from interface org.xmldb.api.base.Configurable
getProperty, setProperty
 

Method Detail

shutdown

public void shutdown()
              throws XMLDBException
Throws:
XMLDBException

getStatus

public DatabaseStatus getStatus()
                         throws XMLDBException
Throws:
XMLDBException

isLocalInstance

public boolean isLocalInstance()
Returns true if the database instance is running local, i.e. in the same thread as this service.

Returns:


Copyright (C) Wolfgang Meier. All rights reserved.