public void initDatabase(ConfigurationContext configurationcontext, ConfigurationManager confmanager) {
/*
* Determine Storage
*/
String useDatabase = confmanager.getConfig(ConfigKeys.USE_DATABASE_STORAGE, TRUE);
MsgBoxStorage msgBoxStorage = null;
long time = getInterval(confmanager);
if (useDatabase.equalsIgnoreCase(TRUE)) {
String jdbcUrl = confmanager.getConfig(ConfigKeys.MSG_BOX_JDBC_URL);
String jdbcDriver = confmanager.getConfig(ConfigKeys.MSG_BOX_JDBC_DRIVER);
msgBoxStorage = new DatabaseStorageImpl(jdbcUrl, jdbcDriver, time);