Class SQLAssetStoreProvider

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.configuration.provider.CfgEventListener, EventListener, javax.inject.Provider<AssetStore>
    Direct Known Subclasses:
    OA2SQLAssetStoreProvider

    public class SQLAssetStoreProvider
    extends edu.uiuc.ncsa.security.storage.sql.SQLStoreProvider<AssetStore>

    Created by Jeff Gaynor
    on 1/31/13 at 12:26 PM

    • Field Summary

      • Fields inherited from class edu.uiuc.ncsa.security.storage.sql.SQLStoreProvider

        converter, PREFIX, SCHEMA, TABLENAME
    • Constructor Summary

      Constructors 
      Constructor Description
      SQLAssetStoreProvider​(org.apache.commons.configuration.tree.ConfigurationNode config, String storeType, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp, AssetProvider assetProvider, edu.uiuc.ncsa.security.storage.data.MapConverter converter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SQLAssetStore get()  
      SQLAssetStore newInstance​(edu.uiuc.ncsa.security.storage.sql.internals.Table table)  
      • Methods inherited from class edu.uiuc.ncsa.security.storage.sql.SQLStoreProvider

        componentFound, getConnectionPool, getDatabaseName, getPrefix, getSchema, getTablename, setTablename
      • Methods inherited from class edu.uiuc.ncsa.security.core.configuration.provider.TypedProvider

        checkEvent, getTarget, getType, getTypeAttribute, getTypeAttribute, getTypeBooleanAttribute, getTypeConfig, getTypeIntAttribute, getTypeIntAttribute, setTarget, setType, setTypeConfig, toString
      • Methods inherited from class edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider

        addListener, fireComponentFound, getAttribute, getAttribute, getBooleanAttribute, getConfig, getConfigurationAt, getIntAttribute, getIntAttribute, hasA, isA, removeListener, setConfig
    • Constructor Detail

      • SQLAssetStoreProvider

        public SQLAssetStoreProvider​(org.apache.commons.configuration.tree.ConfigurationNode config,
                                     String storeType,
                                     edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp,
                                     AssetProvider assetProvider,
                                     edu.uiuc.ncsa.security.storage.data.MapConverter converter)
    • Method Detail

      • newInstance

        public SQLAssetStore newInstance​(edu.uiuc.ncsa.security.storage.sql.internals.Table table)
        Specified by:
        newInstance in class edu.uiuc.ncsa.security.storage.sql.SQLStoreProvider<AssetStore>