|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DBConfig
interface to hold all properties necessary to configure a database connection
Method Summary | |
---|---|
String |
getDbType()
returns the type of a data storage. |
String |
getDrvClassName()
returns the classname of the JDBC driver |
File |
getDrvLibPath()
returns the path of the jar-file that contains a jdbc-driver |
String |
getDrvUrl()
returns the url used by the JDBC driver to access a data storage |
String |
getDsDB()
returns the name of a data storage |
String |
getDsHost()
returns the hostname of the data storage server |
String |
getDsPassword()
returns the password used to access a data storage |
String |
getDsSchema()
SRJRCFrames supports database schema usage even on databases, that don't support schemata. |
String |
getDsUser()
returns the username used to access a data storage |
Map<String,Boolean> |
getSupportedDBDrivers()
|
void |
setDbType(String dbType)
sets the type of the database (currently only mysql supported) |
void |
setDrvClassName(String drvClassName)
sets the classname of the JDBC-driver |
void |
setDrvUrl(String url)
sets the url to access the data storage |
void |
setDsDB(String dsDB)
sets the name of the data storage, i.e. the name of a database |
void |
setDsHost(String dsHost)
sets the hostname of the server, that hosts the data storage |
void |
setDsPassword(String dsPassword)
sets the password used to access the data storage |
void |
setDsSchema(String dsSchema)
sets the default schema used by applications. |
void |
setDsUser(String dsUser)
sets the user used to access the data storage |
Method Detail |
---|
String getDbType()
String getDrvClassName()
File getDrvLibPath()
String getDrvUrl()
String getDsDB()
String getDsHost()
String getDsPassword()
String getDsSchema()
String getDsUser()
Map<String,Boolean> getSupportedDBDrivers()
void setDbType(String dbType)
dbType
- - the type of the data storagevoid setDrvClassName(String drvClassName)
drvClassName
- - the classname of the drivervoid setDrvUrl(String url)
url
- - url used to access the data storagevoid setDsDB(String dsDB)
dsDB
- - name of the data storagevoid setDsHost(String dsHost)
dsHost
- - hostname of data storage servervoid setDsPassword(String dsPassword)
dsPassword
- - password for data storagevoid setDsSchema(String dsSchema)
dsSchema
- - the default schema namevoid setDsUser(String dsUser)
dsUser
- - user for data storage
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |