org.mmbase.util
Class DatabaseLookup

java.lang.Object
  extended byorg.mmbase.util.DatabaseLookup

Deprecated. Not used by 'new' storage layer DatabaseStorageLookup

public class DatabaseLookup
extends java.lang.Object

Selects a MMBase database configuration based on a java.sql.Connection

Author:
Eduard Witteveen

Constructor Summary
DatabaseLookup(java.io.File lookupConfig, java.io.File databaseConfigPath)
          Deprecated. constructor
 
Method Summary
 java.io.File getDatabaseConfig(java.sql.Connection connection)
          Deprecated. getDatabaseConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseLookup

public DatabaseLookup(java.io.File lookupConfig,
                      java.io.File databaseConfigPath)
Deprecated. 
constructor

Parameters:
lookupConfig - The config file that is used to lookup files
databaseConfigPath - The directory in which all the database configuration files can b found
Method Detail

getDatabaseConfig

public java.io.File getDatabaseConfig(java.sql.Connection connection)
Deprecated. 
getDatabaseConfig

Parameters:
connection - The connection of which the type of database has to be resolved
Returns:
The file with mmbase-database-configuration data for this type of connection


MMBase build 1.7.1.20041002