| java.lang.Object org.openharmonise.rm.dsi.DatabaseSettings
DatabaseSettings | public class DatabaseSettings (Code) | | Wraps the database connection properties.
author: Matt Treanor author: jejking version: $Revision: 1.3 $ |
PROPERTIES_FILENAME | final public static String PROPERTIES_FILENAME(Code) | | Constant holding the name of the properties file - harmonise.properties
|
createDatabaseSettings | public static void createDatabaseSettings(String dbUser, String dbPwd, String dbUrl, String dbDriver, String dsiClass) throws ConfigException(Code) | | Constructs and configures instance using the params given using Contructor injection pattern.
Parameters: dbUser - Parameters: dbPassword - Parameters: dbUrl - Parameters: dbDriver - Parameters: dsiClass - throws: ConfigException - |
createDatabaseSettingsFromFile | public static void createDatabaseSettingsFromFile() throws ConfigException(Code) | | |
getDbDriver | public String getDbDriver()(Code) | | Returns the dbDriver. |
getDbUser | public String getDbUser()(Code) | | Returns the dbUser. |
getDsiClass | public String getDsiClass()(Code) | | Returns the dsiClass. |
|
|