Class DBConfigLoader<T extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment>

  • 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader

        edu.uiuc.ncsa.security.core.util.LoggingConfigLoader.MyLoggerProvider
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected edu.uiuc.ncsa.security.storage.sql.derby.DerbyConnectionPoolProvider derbyConnectionPoolProvider  
      • 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, edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)  
    • Field Detail

      • derbyConnectionPoolProvider

        protected edu.uiuc.ncsa.security.storage.sql.derby.DerbyConnectionPoolProvider derbyConnectionPoolProvider
    • 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)
      • getPgConnectionPoolProvider

        public edu.uiuc.ncsa.security.storage.sql.postgres.PGConnectionPoolProvider getPgConnectionPoolProvider​(String databaseName,
                                                                                                                String schema)