|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatabaseConfig
Implementations of this interface provide DB-specific JDBC configuration operations.
| Method Summary | |
|---|---|
String |
getClassName()
|
String |
getDatabaseType()
|
String |
getInstanceFieldName()
The name of the "Instance" field for this DB. |
String |
getUrl(String hostname,
String port,
String instance)
Returns the JDBC URL for this DB config. |
DatabaseInstance |
parseUrl(String jdbcUrl)
|
| Method Detail |
|---|
String getDatabaseType()
String getInstanceFieldName()
String getClassName()
DatabaseInstance parseUrl(String jdbcUrl)
throws ParseException
ParseException
String getUrl(String hostname,
String port,
String instance)
throws ValidationException
hostname - the hostnameport - the TCP/IP port numberinstance - the DB "instance"
ValidationException - If the underlying configuration is invalid for this DB type. eg for Postgres, "Database" (instance) is a required field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||