org.exist.xmldb
Class RemoteDatabaseInstanceManager

java.lang.Object
  extended byorg.exist.xmldb.RemoteDatabaseInstanceManager
All Implemented Interfaces:
DatabaseInstanceManager

public class RemoteDatabaseInstanceManager
extends java.lang.Object
implements DatabaseInstanceManager


Field Summary
protected  XmlRpcClient client
           
 
Constructor Summary
RemoteDatabaseInstanceManager(XmlRpcClient client)
          Constructor for DatabaseInstanceManagerImpl.
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getProperty(java.lang.String arg0)
           
 DatabaseStatus getStatus()
           
 java.lang.String getVersion()
           
 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 setCollection(Collection arg0)
           
 void setProperty(java.lang.String arg0, java.lang.String arg1)
           
 void shutdown()
          Immediately shutdown the current database instance.
 void shutdown(long delay)
          Shutdown the current database instance after the specified delay (in milliseconds).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected XmlRpcClient client
Constructor Detail

RemoteDatabaseInstanceManager

public RemoteDatabaseInstanceManager(XmlRpcClient client)
Constructor for DatabaseInstanceManagerImpl.

Method Detail

shutdown

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

Specified by:
shutdown in interface DatabaseInstanceManager
Throws:
XMLDBException

shutdown

public void shutdown(long delay)
              throws XMLDBException
Description copied from interface: DatabaseInstanceManager
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.

Specified by:
shutdown in interface DatabaseInstanceManager
Throws:
XMLDBException
See Also:
DatabaseInstanceManager.shutdown()

getName

public java.lang.String getName()
                         throws XMLDBException
Throws:
XMLDBException
See Also:
org.xmldb.api.base.Service#getName()

getVersion

public java.lang.String getVersion()
                            throws XMLDBException
Throws:
XMLDBException
See Also:
org.xmldb.api.base.Service#getVersion()

isLocalInstance

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

Specified by:
isLocalInstance in interface DatabaseInstanceManager
Returns:

setCollection

public void setCollection(Collection arg0)
                   throws XMLDBException
Throws:
XMLDBException
See Also:
org.xmldb.api.base.Service#setCollection(org.xmldb.api.base.Collection)

getProperty

public java.lang.String getProperty(java.lang.String arg0)
                             throws XMLDBException
Throws:
XMLDBException
See Also:
org.xmldb.api.base.Configurable#getProperty(java.lang.String)

setProperty

public void setProperty(java.lang.String arg0,
                        java.lang.String arg1)
                 throws XMLDBException
Throws:
XMLDBException
See Also:
org.xmldb.api.base.Configurable#setProperty(java.lang.String, java.lang.String)

getStatus

public DatabaseStatus getStatus()
                         throws XMLDBException
Specified by:
getStatus in interface DatabaseInstanceManager
Throws:
XMLDBException

isXACMLEnabled

public boolean isXACMLEnabled()
                       throws XMLDBException
Description copied from interface: DatabaseInstanceManager
Returns true if XACML is enabled for the database instance.

Specified by:
isXACMLEnabled in interface DatabaseInstanceManager
Throws:
XMLDBException


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