Uses of Class
org.apache.commons.dbcp2.datasources.UserPassKey
Packages that use UserPassKey
Package
Description
This package contains two DataSources:
PerUserPoolDataSource and
SharedPoolDataSource which provide a database connection pool.-
Uses of UserPassKey in org.apache.commons.dbcp2.datasources
Fields in org.apache.commons.dbcp2.datasources declared as UserPassKeyModifier and TypeFieldDescriptionprivate UserPassKeyCPDSConnectionFactory.userPassKeyprivate final UserPassKeyPooledConnectionAndInfo.userPassKeyFields in org.apache.commons.dbcp2.datasources with type parameters of type UserPassKeyModifier and TypeFieldDescriptionprivate org.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> KeyedCPDSConnectionFactory.poolprivate org.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> SharedPoolDataSource.poolMethods in org.apache.commons.dbcp2.datasources that return UserPassKeyModifier and TypeMethodDescription(package private) UserPassKeyPooledConnectionAndInfo.getUserPassKey()Methods in org.apache.commons.dbcp2.datasources that return types with arguments of type UserPassKeyModifier and TypeMethodDescriptionorg.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> KeyedCPDSConnectionFactory.getPool()Returns the keyed object pool used to pool connections created by this factory.Methods in org.apache.commons.dbcp2.datasources with parameters of type UserPassKeyModifier and TypeMethodDescriptionvoidKeyedCPDSConnectionFactory.activateObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) voidKeyedCPDSConnectionFactory.destroyObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) Closes the PooledConnection and stops listening for events from it.protected abstract PooledConnectionManagerInstanceKeyDataSource.getConnectionManager(UserPassKey upkey) protected PooledConnectionManagerPerUserPoolDataSource.getConnectionManager(UserPassKey upKey) protected PooledConnectionManagerSharedPoolDataSource.getConnectionManager(UserPassKey userPassKey) org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> KeyedCPDSConnectionFactory.makeObject(UserPassKey userPassKey) Creates a newPooledConnectionAndInfofrom the givenUserPassKey.voidKeyedCPDSConnectionFactory.passivateObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) booleanKeyedCPDSConnectionFactory.validateObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> pooledObject) Validates a pooled connection.Method parameters in org.apache.commons.dbcp2.datasources with type arguments of type UserPassKeyModifier and TypeMethodDescriptionvoidKeyedCPDSConnectionFactory.setPool(org.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> pool) Constructors in org.apache.commons.dbcp2.datasources with parameters of type UserPassKeyModifierConstructorDescription(package private)PooledConnectionAndInfo(PooledConnection pooledConnection, UserPassKey userPassKey)