Package edu.uiuc.ncsa.sas.loader
Class ClientFSStoreProvider<T extends FileStore>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider<T>
-
- edu.uiuc.ncsa.security.core.configuration.provider.TypedProvider<T>
-
- edu.uiuc.ncsa.security.storage.FSProvider<T>
-
- edu.uiuc.ncsa.sas.loader.ClientFSStoreProvider<T>
-
- All Implemented Interfaces:
CfgEventListener
,EventListener
,javax.inject.Provider<T>
public class ClientFSStoreProvider<T extends FileStore> extends FSProvider<T>
Created by Jeff Gaynor
on 8/22/22 at 2:25 PM
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.storage.FSProvider
converter, DATA_KEY, INDEX_KEY, PATH_KEY
-
-
Constructor Summary
Constructors Constructor Description ClientFSStoreProvider(org.apache.commons.configuration.tree.ConfigurationNode config, MapConverter converter, javax.inject.Provider<? extends SASClient> clientProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
produce(File dataPath, File indexPath, boolean removeEmptyFiles, boolean removeFailedFiles)
Put the actual instantiation of the store here.-
Methods inherited from class edu.uiuc.ncsa.security.storage.FSProvider
componentFound, get, getUpkeepConfiguration, isRemoveEmptyFiles, isRemoveFailedFiles, setConfig, setUpkeepConfiguration
-
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, getListeners, hasA, isA, removeListener
-
-
-
-
Constructor Detail
-
ClientFSStoreProvider
public ClientFSStoreProvider(org.apache.commons.configuration.tree.ConfigurationNode config, MapConverter converter, javax.inject.Provider<? extends SASClient> clientProvider)
-
-
Method Detail
-
produce
protected T produce(File dataPath, File indexPath, boolean removeEmptyFiles, boolean removeFailedFiles)
Description copied from class:FSProvider
Put the actual instantiation of the store here.FSProvider.get()
does the grunt work of getting everything out of the configuration for you and checking that it all works as planned.- Specified by:
produce
in classFSProvider<T extends FileStore>
- Returns:
-
-