Class PGConnectionPoolProvider
- java.lang.Object
- 
- edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider<T>
- 
- edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<ConnectionPool>
- 
- edu.uiuc.ncsa.security.storage.sql.postgres.PGConnectionPoolProvider
 
 
 
- 
- All Implemented Interfaces:
- CfgEventListener,- EventListener,- javax.inject.Provider<ConnectionPool>
 
 public class PGConnectionPoolProvider extends ConnectionPoolProvider<ConnectionPool> Created by Jeff Gaynor 
 on 1/18/12 at 8:20 AM
- 
- 
Field Summary- 
Fields inherited from class edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProviderBOOT_PASSWORD, CONNECTION_CLEANUP_ENABLE, CONNECTION_CLEANUP_INTERVAL, CONNECTION_ENABLE_QUEUE, CONNECTION_IDLE_TIMEOUT, CONNECTION_MAX, CONNECTION_QUEUE_INTERVAL, database, DATABASE, DEFAULT_CLEANUP_ENABLE, DEFAULT_CLEANUP_INTERVAL, DEFAULT_IDLE_TIMEOUT, DEFAULT_MAX_CONNECTIONS, DEFAULT_QUEUE_INTERVAL, DERBY_CREATE_SCRIPT, DERBY_FS_DEFAULT_BOOT_PASSWORD, DERBY_FS_DEFAULT_PASSWORD, DERBY_FS_DEFAULT_SCHEMA, DERBY_FS_DEFAULT_USER, DERBY_STORE_TYPE, driver, DRIVER, host, HOST, PARAMETERS, PASSWORD, port, PORT, schema, SCHEMA, USE_SSL, USERNAME, useSSL
 
- 
 - 
Constructor SummaryConstructors Constructor Description PGConnectionPoolProvider(String database, String schema)PGConnectionPoolProvider(String database, String schema, String host, int port, String driver, boolean useSSL)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckEvent(CfgEvent cfgEvent)Checks that the event applies to this component.ObjectcomponentFound(CfgEvent configurationEvent)ConnectionPoolget()- 
Methods inherited from class edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvidercheckTime, checkValue, checkValue, checkValue, checkValue, checkValue, getDatabase, getDriver, getHost, getPort, getSchema, isUseSSL, setDatabase, setDriver, setHost, setPoolParameters, setPort, setSchema, setUseSSL
 - 
Methods inherited from class edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvideraddListener, fireComponentFound, getAttribute, getAttribute, getBooleanAttribute, getCFNode, getConfig, getConfigurationAt, getIntAttribute, getIntAttribute, getListeners, hasA, hasCFNode, isA, removeListener, setCFNode, setConfig
 
- 
 
- 
- 
- 
Method Detail- 
checkEventprotected boolean checkEvent(CfgEvent cfgEvent) Description copied from class:HierarchicalConfigProviderChecks that the event applies to this component. The type is the component and the target is Normally you set the component key as a static field in the class (e.g. "mysql") and pass it along in the theCfgEventListener.componentFound(CfgEvent)method. If checkEvent fails, do no more processing with the event.- Specified by:
- checkEventin class- HierarchicalConfigProvider<ConnectionPool>
- Returns:
 
 - 
getpublic ConnectionPool get() 
 
- 
 
-