Class DBConfigLoader<T extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.LoggingConfigLoader<T>
-
- org.oa4mp.delegation.common.servlet.DBConfigLoader<T>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.util.ConfigurationLoader<T>
,edu.uiuc.ncsa.security.core.Version
,Serializable
public abstract class DBConfigLoader<T extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> extends edu.uiuc.ncsa.security.core.util.LoggingConfigLoader<T>
Configurations that deal with storage should extend this. Note that this is used extensively in OA4MP though not in this module.Created by Jeff Gaynor
on 1/31/13 at 3:16 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected edu.uiuc.ncsa.security.storage.sql.derby.DerbyConnectionPoolProvider
derbyConnectionPoolProvider
-
Constructor Summary
Constructors Modifier Constructor Description protected
DBConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node)
Constructor to use default logging.protected
DBConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.uiuc.ncsa.security.storage.sql.derby.DerbyConnectionPoolProvider
getDerbyConnectionPoolProvider()
edu.uiuc.ncsa.security.storage.sql.derby.DerbyConnectionPoolProvider
getDerbyConnectionPoolProvider(String databaseName, String schema)
edu.uiuc.ncsa.security.storage.sql.mariadb.MariaDBConnectionPoolProvider
getMariaDBConnectionPoolProvider()
edu.uiuc.ncsa.security.storage.sql.mariadb.MariaDBConnectionPoolProvider
getMariaDBConnectionPoolProvider(String databaseName, String schema)
edu.uiuc.ncsa.security.storage.sql.mysql.MySQLConnectionPoolProvider
getMySQLConnectionPoolProvider()
edu.uiuc.ncsa.security.storage.sql.mysql.MySQLConnectionPoolProvider
getMySQLConnectionPoolProvider(String databaseName, String schema)
edu.uiuc.ncsa.security.storage.sql.postgres.PGConnectionPoolProvider
getPgConnectionPoolProvider()
edu.uiuc.ncsa.security.storage.sql.postgres.PGConnectionPoolProvider
getPgConnectionPoolProvider(String databaseName, String schema)
protected boolean
isDefaultStoreDisabled(boolean... x)
-
Methods inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader
debug, getDebugger, getLoggerProvider, getMyLogger, getVersionString, info, setLoggerProvider, warn
-
-
-
-
Constructor Detail
-
DBConfigLoader
protected DBConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
DBConfigLoader
protected DBConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node)
Constructor to use default logging.- Parameters:
node
-
-
-
Method Detail
-
isDefaultStoreDisabled
protected boolean isDefaultStoreDisabled(boolean... x)
-
getMySQLConnectionPoolProvider
public edu.uiuc.ncsa.security.storage.sql.mysql.MySQLConnectionPoolProvider getMySQLConnectionPoolProvider()
-
getMariaDBConnectionPoolProvider
public edu.uiuc.ncsa.security.storage.sql.mariadb.MariaDBConnectionPoolProvider getMariaDBConnectionPoolProvider()
-
getPgConnectionPoolProvider
public edu.uiuc.ncsa.security.storage.sql.postgres.PGConnectionPoolProvider getPgConnectionPoolProvider()
-
getMySQLConnectionPoolProvider
public edu.uiuc.ncsa.security.storage.sql.mysql.MySQLConnectionPoolProvider getMySQLConnectionPoolProvider(String databaseName, String schema)
-
getMariaDBConnectionPoolProvider
public edu.uiuc.ncsa.security.storage.sql.mariadb.MariaDBConnectionPoolProvider getMariaDBConnectionPoolProvider(String databaseName, String schema)
-
getDerbyConnectionPoolProvider
public edu.uiuc.ncsa.security.storage.sql.derby.DerbyConnectionPoolProvider getDerbyConnectionPoolProvider()
-
getDerbyConnectionPoolProvider
public edu.uiuc.ncsa.security.storage.sql.derby.DerbyConnectionPoolProvider getDerbyConnectionPoolProvider(String databaseName, String schema)
-
-