| java.lang.Object org.ozoneDB.AbstractDatabase org.ozoneDB.ExternalDatabase org.ozoneDB.RemoteDatabase
RemoteDatabase | final public class RemoteDatabase extends ExternalDatabase (Code) | | This class represents a remote database server that is connected via
a network connection. For a detailed description of the API see
OzoneInterface .
author: SMB version: $Revision: 1.1 $Date: 2001/12/18 10:31:30 $ See Also: OzoneInterface |
portNum | protected int portNum(Code) | | |
RemoteDatabase | public RemoteDatabase()(Code) | | |
open | public void open(String _hostName, int _portNum) throws Exception(Code) | | Open a new database connection.
Parameters: hostname - name of the host where the server resides Parameters: port - port of the server (default server setting: 3000) |
open | public void open(String _hostName, int _portNum, String _userName, String _passwd) throws Exception(Code) | | Open a new database connection.
Parameters: hostname - name of the host where the server resides Parameters: port - port of the server (default server setting: 3000) Parameters: userName - Parameters: passwd - |
open | protected synchronized void open(Hashtable _props) throws Exception(Code) | | Parameters: _props - The properties for the new connection. |
Methods inherited from org.ozoneDB.ExternalDatabase | final protected DbClient acquirePooledConnection() throws Exception(Code)(Java Doc) public Admin admin() throws Exception(Code)(Java Doc) public void beginTX(AbstractTransaction tx) throws TransactionExc, IOException(Code)(Java Doc) public void checkpointTX(AbstractTransaction tx) throws TransactionExc, IOException(Code)(Java Doc) public synchronized void close() throws Exception(Code)(Java Doc) final protected Object commandTX(AbstractTransaction tx, DbTransaction command) throws TransactionExc, IOException(Code)(Java Doc) public void commitTX(AbstractTransaction tx, boolean onePhase) throws TransactionExc, IOException(Code)(Java Doc) public OzoneProxy copyObject(OzoneRemote obj) throws Exception(Code)(Java Doc) public OzoneProxy createObject(String className, int access, String name, String sig, Object[] args) throws RuntimeException, ExceptionInOzoneObjectException(Code)(Java Doc) protected static Hashtable createProps(String _url) throws MalformedURLException(Code)(Java Doc) public ExternalTransaction currentExternalTransaction()(Code)(Java Doc) public AbstractTransaction currentTransaction()(Code)(Java Doc) public void deleteObject(OzoneRemote obj) throws RuntimeException, ExceptionInOzoneObjectException(Code)(Java Doc) public OzoneCompatible fetch(OzoneProxy rObj, int lockLevel) throws Exception(Code)(Java Doc) protected void finalize() throws Throwable(Code)(Java Doc) public static ExternalDatabase forThread(Thread _thread)(Code)(Java Doc) final public int getStatusTX(AbstractTransaction tx) throws TransactionExc, IOException(Code)(Java Doc) final public XAResource getXAResource()(Code)(Java Doc) public Object invoke(OzoneProxy rObj, String methodName, String sig, Object[] args, int lockLevel) throws Exception(Code)(Java Doc) public Object invoke(OzoneProxy rObj, int methodIndex, Object[] args, int lockLevel) throws Exception(Code)(Java Doc) public boolean isOpen() throws Exception(Code)(Java Doc) public void joinTX(AbstractTransaction tx) throws TransactionExc(Code)(Java Doc) public boolean leaveTX(AbstractTransaction tx)(Code)(Java Doc) protected ExternalDatabase linkForProxy(OzoneProxy proxy)(Code)(Java Doc) public void nameObject(OzoneRemote obj, String name) throws Exception(Code)(Java Doc) abstract protected DbClient newConnection() throws Exception(Code)(Java Doc) public ExternalTransaction newTransaction()(Code)(Java Doc) public void notifyProxyDeath(OzoneProxy proxy)(Code)(Java Doc) public OzoneProxy objectForHandle(String handle) throws Exception(Code)(Java Doc) public OzoneProxy objectForName(String name) throws Exception(Code)(Java Doc) public OzoneProxy[] objectsOfClass(String name) throws Exception(Code)(Java Doc) protected void open(Hashtable _props) throws Exception(Code)(Java Doc) public static ExternalDatabase openDatabase(String _url, String _username, String _passwd) throws Exception(Code)(Java Doc) public static ExternalDatabase openDatabase(String _url) throws Exception(Code)(Java Doc) public void prepareTX(AbstractTransaction tx) throws TransactionExc, IOException(Code)(Java Doc) final protected void releasePooledConnection(DbClient connection)(Code)(Java Doc) public void reloadClasses() throws Exception(Code)(Java Doc) public void rollbackTX(AbstractTransaction tx) throws TransactionExc, IOException(Code)(Java Doc) final protected Object sendCommand(DbCommand command, boolean waitForResult) throws Exception(Code)(Java Doc) protected Object sendCommand(DbCommand command, boolean waitForResult, DbClient connection) throws Exception, ExceptionInOzoneObjectException(Code)(Java Doc) protected synchronized void setWrapper(ExternalDatabase _wrapper)(Code)(Java Doc) final protected AbstractTransaction txForThread(Thread thread)(Code)(Java Doc) public Node xmlForObject(OzoneRemote rObj, Document domFactory) throws Exception(Code)(Java Doc) public void xmlForObject(OzoneRemote rObj, ContentHandler ch) throws Exception(Code)(Java Doc)
|
Fields inherited from org.ozoneDB.AbstractDatabase | final public static int DefaultAccessRight(Code)(Java Doc)
|
Methods inherited from org.ozoneDB.AbstractDatabase | public OzoneProxy createObject(String className) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(String className, int access) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(String className, int access, String objName) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(String className, String sig, Object[] args) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(Class type) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(Class type, int access) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(Class type, int access, String objName) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(Class type, int access, String objName, String sig, Object[] args) throws RuntimeException(Code)(Java Doc) public OzoneProxy createObject(Class type, String sig, Object[] args) throws RuntimeException(Code)(Java Doc)
|
|
|