org.exist.xmldb
Interface DatabaseInstanceManager

All Known Implementing Classes:
LocalDatabaseInstanceManager, RemoteDatabaseInstanceManager

public interface DatabaseInstanceManager

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.
 boolean isXACMLEnabled()
          Returns true if XACML is enabled for the database instance.
 void shutdown()
          Immediately shutdown the current database instance.
 void shutdown(long delay)
          Shutdown the current database instance after the specified delay (in milliseconds).
 

Method Detail

shutdown

public void shutdown()
              throws XMLDBException
Immediately shutdown the current database instance. This current user should be a member of the "dba" group or an exception will be thrown.

Throws:
XMLDBException

shutdown

public void shutdown(long delay)
              throws XMLDBException
Shutdown the current database instance after the specified delay (in milliseconds). This current user should be a member of the "dba" group or an exception will be thrown.

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:

isXACMLEnabled

public boolean isXACMLEnabled()
                       throws XMLDBException
Returns true if XACML is enabled for the database instance.

Throws:
XMLDBException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.