Package edu.uiuc.ncsa.security.storage
Class DBConfigLoader<T extends AbstractEnvironment>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.LoggingConfigLoader<T>
-
- edu.uiuc.ncsa.security.storage.DBConfigLoader<T>
-
- All Implemented Interfaces:
ConfigurationLoader<T>
,Version
,Serializable
- Direct Known Subclasses:
SASConfigurationLoader
public abstract class DBConfigLoader<T extends AbstractEnvironment> extends 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader
LoggingConfigLoader.MyLoggerProvider
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader
cn, debugger, loggerProvider, myLogger
-
Fields inherited from interface edu.uiuc.ncsa.security.core.Version
VERSION_NUMBER
-
-
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, MyLoggingFacade logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DerbyConnectionPoolProvider
getDerbyConnectionPoolProvider()
DerbyConnectionPoolProvider
getDerbyConnectionPoolProvider(String databaseName, String schema)
MariaDBConnectionPoolProvider
getMariaDBConnectionPoolProvider()
MariaDBConnectionPoolProvider
getMariaDBConnectionPoolProvider(String databaseName, String schema)
MySQLConnectionPoolProvider
getMySQLConnectionPoolProvider()
MySQLConnectionPoolProvider
getMySQLConnectionPoolProvider(String databaseName, String schema)
PGConnectionPoolProvider
getPgConnectionPoolProvider()
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.uiuc.ncsa.security.core.util.ConfigurationLoader
createInstance, getConstants, load
-
-
-
-
Constructor Detail
-
DBConfigLoader
protected DBConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node, 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 MySQLConnectionPoolProvider getMySQLConnectionPoolProvider()
-
getMariaDBConnectionPoolProvider
public MariaDBConnectionPoolProvider getMariaDBConnectionPoolProvider()
-
getPgConnectionPoolProvider
public PGConnectionPoolProvider getPgConnectionPoolProvider()
-
getMySQLConnectionPoolProvider
public MySQLConnectionPoolProvider getMySQLConnectionPoolProvider(String databaseName, String schema)
-
getMariaDBConnectionPoolProvider
public MariaDBConnectionPoolProvider getMariaDBConnectionPoolProvider(String databaseName, String schema)
-
getDerbyConnectionPoolProvider
public DerbyConnectionPoolProvider getDerbyConnectionPoolProvider()
-
getDerbyConnectionPoolProvider
public DerbyConnectionPoolProvider getDerbyConnectionPoolProvider(String databaseName, String schema)
-
getPgConnectionPoolProvider
public PGConnectionPoolProvider getPgConnectionPoolProvider(String databaseName, String schema)
-
-