Class IncrementableProvider
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider<T>
-
- edu.uiuc.ncsa.security.core.configuration.provider.TypedProvider<Incrementable>
-
- org.cilogon.oauth2.servlet.storage.sequence.IncrementableProvider
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.configuration.provider.CfgEventListener,EventListener,javax.inject.Provider<Incrementable>
- Direct Known Subclasses:
DerbySequenceProvider,FSSequenceProvider,MySQLSequenceProvider,PGSequenceProvider
public abstract class IncrementableProvider extends edu.uiuc.ncsa.security.core.configuration.provider.TypedProvider<Incrementable>
Supplies a single incrementable, e.g., subclasses exist for file, sql-backed, etc.Created by Jeff Gaynor
on 3/20/12 at 9:52 AM
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIncrementableProvider(org.apache.commons.configuration.tree.ConfigurationNode config, String type)IncrementableProvider(org.apache.commons.configuration.tree.ConfigurationNode config, String type, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> connectionPoolProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcomponentFound(edu.uiuc.ncsa.security.core.configuration.provider.CfgEvent configurationEvent)protected edu.uiuc.ncsa.security.storage.sql.ConnectionPoolgetConnectionPool()StringgetPrefix()StringgetSchema()StringgetTablename()Return the configured tablename if there is one, otherwise return the default.-
Methods inherited from class edu.uiuc.ncsa.security.core.configuration.provider.TypedProvider
checkEvent, getParentCFNode, getTarget, getType, getTypeAttribute, getTypeAttribute, getTypeBooleanAttribute, getTypeConfig, getTypeIntAttribute, getTypeIntAttribute, hasParentCFNode, setParentCFNode, setTarget, setType, setTypeConfig, toString
-
Methods inherited from class edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider
addListener, fireComponentFound, getAttribute, getAttribute, getBooleanAttribute, getCFNode, getConfig, getConfigurationAt, getIntAttribute, getIntAttribute, getListeners, hasA, hasCFNode, isA, removeListener, setCFNode, setConfig
-
-
-
-
Constructor Detail
-
IncrementableProvider
protected IncrementableProvider(org.apache.commons.configuration.tree.ConfigurationNode config, String type)
-
IncrementableProvider
public IncrementableProvider(org.apache.commons.configuration.tree.ConfigurationNode config, String type, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> connectionPoolProvider)
-
-
Method Detail
-
getConnectionPool
protected edu.uiuc.ncsa.security.storage.sql.ConnectionPool getConnectionPool()
-
componentFound
public Object componentFound(edu.uiuc.ncsa.security.core.configuration.provider.CfgEvent configurationEvent)
-
getSchema
public String getSchema()
-
getPrefix
public String getPrefix()
-
getTablename
public String getTablename()
Return the configured tablename if there is one, otherwise return the default.- Returns:
-
-