Package edu.uiuc.ncsa.security.storage
Class CFDBConfigLoader<T extends AbstractEnvironment>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.CFLoggingConfigLoader<T>
-
- edu.uiuc.ncsa.security.storage.CFDBConfigLoader<T>
-
- All Implemented Interfaces:
ConfigurationLoader<T>,Version,Serializable
- Direct Known Subclasses:
SASCFConfigurationLoader
public abstract class CFDBConfigLoader<T extends AbstractEnvironment> extends CFLoggingConfigLoader<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.CFLoggingConfigLoader
CFLoggingConfigLoader.MyLoggerProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected DerbyConnectionPoolProviderderbyConnectionPoolProviderprotected MariaDBConnectionPoolProvidermariaDBConnectionPoolProviderprotected MySQLConnectionPoolProvidermySQLConnectionPoolProviderprotected PGConnectionPoolProviderpgConnectionPoolProvider-
Fields inherited from class edu.uiuc.ncsa.security.core.util.CFLoggingConfigLoader
cn, debugger, loggerProvider, myLogger
-
Fields inherited from interface edu.uiuc.ncsa.security.core.Version
VERSION_NUMBER
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCFDBConfigLoader(CFNode node)Constructor to use default logging.protectedCFDBConfigLoader(CFNode node, MyLoggingFacade logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DerbyConnectionPoolProvidergetDerbyConnectionPoolProvider()DerbyConnectionPoolProvidergetDerbyConnectionPoolProvider(String databaseName, String schema)MariaDBConnectionPoolProvidergetMariaDBConnectionPoolProvider()MariaDBConnectionPoolProvidergetMariaDBConnectionPoolProvider(String databaseName, String schema)MySQLConnectionPoolProvidergetMySQLConnectionPoolProvider()MySQLConnectionPoolProvidergetMySQLConnectionPoolProvider(String databaseName, String schema)PGConnectionPoolProvidergetPgConnectionPoolProvider()PGConnectionPoolProvidergetPgConnectionPoolProvider(String databaseName, String schema)protected booleanisDefaultStoreDisabled(boolean... x)-
Methods inherited from class edu.uiuc.ncsa.security.core.util.CFLoggingConfigLoader
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
-
-
-
-
Field Detail
-
mySQLConnectionPoolProvider
protected MySQLConnectionPoolProvider mySQLConnectionPoolProvider
-
mariaDBConnectionPoolProvider
protected MariaDBConnectionPoolProvider mariaDBConnectionPoolProvider
-
derbyConnectionPoolProvider
protected DerbyConnectionPoolProvider derbyConnectionPoolProvider
-
pgConnectionPoolProvider
protected PGConnectionPoolProvider pgConnectionPoolProvider
-
-
Constructor Detail
-
CFDBConfigLoader
protected CFDBConfigLoader(CFNode node, MyLoggingFacade logger)
-
CFDBConfigLoader
protected CFDBConfigLoader(CFNode 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)
-
-