|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.mmbase.util.DatabaseLookup
Selects a MMBase database configuration based on a java.sql.Connection
| Constructor Summary | |
DatabaseLookup(java.io.File lookupConfig,
java.io.File databaseConfigPath)
constructor |
|
| Method Summary | |
java.io.File |
getDatabaseConfig(java.sql.Connection connection)
getDatabaseConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DatabaseLookup(java.io.File lookupConfig,
java.io.File databaseConfigPath)
lookupConfig - The config file that is used to lookup filesdatabaseConfigPath - The directory in which all the database configuration files can b found| Method Detail |
public java.io.File getDatabaseConfig(java.sql.Connection connection)
connection - The connection of which the type of database has to be resolved
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||