Package com.openindex.openestate.tool.db
Class AbstractRemoteDbDriver
- java.lang.Object
-
- com.openindex.openestate.tool.db.AbstractDbDriver
-
- com.openindex.openestate.tool.db.AbstractRemoteDbDriver
-
- Direct Known Subclasses:
HSqlRemoteDriver
public abstract class AbstractRemoteDbDriver extends AbstractDbDriver
AbstractRemoteDbDriver.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description AbstractRemoteDbDriver()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
getDefaultDbHost()
abstract String
getDefaultDbName()
abstract Integer
getDefaultDbPort()
abstract String
getDefaultDbProtocol()
abstract String
getDefaultLogin()
abstract String
getRemoteDatabase()
abstract String
getRemoteHost()
abstract int
getRemotePort()
abstract String
getRemoteProtocol()
abstract String[]
getSupportedProtocols()
abstract void
setRemoteLocation(String protocol, String host, int port, String database)
Setup parameters to the remote database server.-
Methods inherited from class com.openindex.openestate.tool.db.AbstractDbDriver
getConnection, getConnection, getConnectionProperties, getName, getUrl, getUser, init, setUser, shutdown
-
-
-
-
Method Detail
-
getDefaultDbHost
public abstract String getDefaultDbHost()
-
getDefaultDbName
public abstract String getDefaultDbName()
-
getDefaultDbPort
public abstract Integer getDefaultDbPort()
-
getDefaultDbProtocol
public abstract String getDefaultDbProtocol()
-
getDefaultLogin
public abstract String getDefaultLogin()
-
getRemoteDatabase
public abstract String getRemoteDatabase()
-
getRemoteHost
public abstract String getRemoteHost()
-
getRemotePort
public abstract int getRemotePort()
-
getRemoteProtocol
public abstract String getRemoteProtocol()
-
getSupportedProtocols
public abstract String[] getSupportedProtocols()
-
setRemoteLocation
public abstract void setRemoteLocation(String protocol, String host, int port, String database)
Setup parameters to the remote database server.- Parameters:
protocol
- protocol, that is used for communicationhost
- host name of the database serverport
- port nr of the database serverdatabase
- name of the database
-
-