|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.xmldb.RemoteDatabaseInstanceManager
public class RemoteDatabaseInstanceManager
| Constructor Summary | |
|---|---|
RemoteDatabaseInstanceManager(org.apache.xmlrpc.XmlRpcClient client)
Constructor for DatabaseInstanceManagerImpl. |
|
| Method Summary | |
|---|---|
boolean |
enterServiceMode()
|
void |
exitServiceMode()
|
String |
getName()
Returns the name associated with the Service instance. |
String |
getProperty(String arg0)
Returns the value of the property identified by name. |
DatabaseStatus |
getStatus()
|
String |
getVersion()
Gets the Version attribute of the Service object |
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)
Sets the Collection attribute of the Service object |
void |
setProperty(String arg0,
String arg1)
Sets the property name to have the value provided in
value. |
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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteDatabaseInstanceManager(org.apache.xmlrpc.XmlRpcClient client)
| Method Detail |
|---|
public void shutdown()
throws XMLDBException
DatabaseInstanceManager
shutdown in interface DatabaseInstanceManagerXMLDBException
public void shutdown(long delay)
throws XMLDBException
DatabaseInstanceManager
shutdown in interface DatabaseInstanceManagerXMLDBExceptionDatabaseInstanceManager.shutdown()
public boolean enterServiceMode()
throws XMLDBException
enterServiceMode in interface DatabaseInstanceManagerXMLDBException
public void exitServiceMode()
throws XMLDBException
exitServiceMode in interface DatabaseInstanceManagerXMLDBException
public String getName()
throws XMLDBException
Service
getName in interface ServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.Service.getName()
public String getVersion()
throws XMLDBException
Service
getVersion in interface ServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.Service.getVersion()public boolean isLocalInstance()
DatabaseInstanceManager
isLocalInstance in interface DatabaseInstanceManager
public void setCollection(Collection arg0)
throws XMLDBException
Service
setCollection in interface Servicearg0 - The new Collection value
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.Service.setCollection(org.xmldb.api.base.Collection)
public String getProperty(String arg0)
throws XMLDBException
Configurablename.
getProperty in interface Configurablearg0 - the name of the property to retrieve.
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.Configurable.getProperty(java.lang.String)
public void setProperty(String arg0,
String arg1)
throws XMLDBException
Configurablename to have the value provided in
value.
setProperty in interface Configurablearg0 - the name of the property to set.arg1 - the value to set for the property.
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.Configurable.setProperty(java.lang.String, java.lang.String)
public DatabaseStatus getStatus()
throws XMLDBException
getStatus in interface DatabaseInstanceManagerXMLDBException
public boolean isXACMLEnabled()
throws XMLDBException
DatabaseInstanceManager
isXACMLEnabled in interface DatabaseInstanceManagerXMLDBException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||