|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.rhi.architecture.batch.DBConfigMixin
ConfigMixin which loads configuration data from a database.
| Field Summary | |
static java.lang.String |
JDBC_DRIVER
the configuration key used to store the JDBC driver name |
static java.lang.String |
JDBC_PASSWORD
the configuration key used to store the DB password |
static java.lang.String |
JDBC_URL
the configuration key used to store the DB url. |
static java.lang.String |
JDBC_USER
the configuration key used to store the DB user |
static java.lang.String |
PROPERTY_KEY
the name of the column in the DB storing configuration keys |
static java.lang.String |
PROPERTY_VALUE
the name of the column in the DB storing the value for a configuration key |
static java.lang.String |
PROPS_QUERY
the configuration key used to store the SQL for selecting configuration values from the database. |
| Constructor Summary | |
DBConfigMixin()
constructor |
|
| Method Summary | |
void |
loadConfiguration(java.util.Properties props)
Retrieve property values & append them to the provided default application properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String JDBC_DRIVER
public static final java.lang.String JDBC_USER
public static final java.lang.String JDBC_PASSWORD
public static final java.lang.String JDBC_URL
public static final java.lang.String PROPS_QUERY
public static final java.lang.String PROPERTY_KEY
public static final java.lang.String PROPERTY_VALUE
| Constructor Detail |
public DBConfigMixin()
| Method Detail |
public void loadConfiguration(java.util.Properties props)
throws InitializationException
ConfigMixin
loadConfiguration in interface ConfigMixinprops -
InitializationExceptionConfigMixin.loadConfiguration(java.util.Properties)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||