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 StringgetDefaultDbHost()abstract StringgetDefaultDbName()abstract IntegergetDefaultDbPort()abstract StringgetDefaultDbProtocol()abstract StringgetDefaultLogin()abstract StringgetRemoteDatabase()abstract StringgetRemoteHost()abstract intgetRemotePort()abstract StringgetRemoteProtocol()abstract String[]getSupportedProtocols()abstract voidsetRemoteLocation(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
-
-