Uses of Class
org.apache.commons.dbcp2.PoolableConnection
Packages that use PoolableConnection
Package
Description
Database Connection Pool API.
This package provides support for pooling of ManagedConnections.
-
Uses of PoolableConnection in org.apache.commons.dbcp2
Methods in org.apache.commons.dbcp2 that return types with arguments of type PoolableConnectionModifier and TypeMethodDescriptionprotected GenericObjectPool
<PoolableConnection> BasicDataSource.createObjectPool
(PoolableConnectionFactory factory, GenericObjectPoolConfig<PoolableConnection> poolConfig, AbandonedConfig abandonedConfig) Creates an object pool used to provide pooling support forJDBC connections
.BasicDataSource.getConnectionPool()
Gets the underlying connection pool.PoolableConnectionFactory.getPool()
Returns theObjectPool
in whichConnection
s are pooled.PoolableConnectionFactory.makeObject()
Methods in org.apache.commons.dbcp2 with parameters of type PoolableConnectionModifier and TypeMethodDescriptionvoid
PoolableConnectionFactory.validateConnection
(PoolableConnection conn) Validates the given connection if it is open.Method parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnectionModifier and TypeMethodDescriptionvoid
PoolableConnectionFactory.activateObject
(PooledObject<PoolableConnection> p) protected GenericObjectPool
<PoolableConnection> BasicDataSource.createObjectPool
(PoolableConnectionFactory factory, GenericObjectPoolConfig<PoolableConnection> poolConfig, AbandonedConfig abandonedConfig) Creates an object pool used to provide pooling support forJDBC connections
.void
PoolableConnectionFactory.destroyObject
(PooledObject<PoolableConnection> p) void
PoolableConnectionFactory.destroyObject
(PooledObject<PoolableConnection> p, DestroyMode mode) void
PoolableConnectionFactory.passivateObject
(PooledObject<PoolableConnection> p) void
PoolableConnectionFactory.setPool
(ObjectPool<PoolableConnection> pool) Sets theObjectPool
in which to poolConnection
s.boolean
PoolableConnectionFactory.validateObject
(PooledObject<PoolableConnection> p) Constructor parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnectionModifierConstructorDescriptionPoolableConnection
(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxName) PoolableConnection
(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, boolean fastFailValidation) PoolableConnection
(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, Collection<String> disconnectionIgnoreSqlCodes, boolean fastFailValidation) Creates a newPoolableConnection
instance. -
Uses of PoolableConnection in org.apache.commons.dbcp2.managed
Subclasses of PoolableConnection in org.apache.commons.dbcp2.managedModifier and TypeClassDescriptionclass
PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.Methods in org.apache.commons.dbcp2.managed that return types with arguments of type PoolableConnectionModifier and TypeMethodDescriptionPoolableManagedConnectionFactory.makeObject()
Uses the configured XAConnectionFactory to create aPoolableManagedConnection
.Constructor parameters in org.apache.commons.dbcp2.managed with type arguments of type PoolableConnectionModifierConstructorDescriptionPoolableManagedConnection
(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool) Creates a PoolableManagedConnection.PoolableManagedConnection
(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool, Collection<String> disconnectSqlCodes, boolean fastFailValidation) Creates a PoolableManagedConnection.PoolableManagedConnection
(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool, Collection<String> disconnectSqlCodes, Collection<String> disconnectionIgnoreSqlCodes, boolean fastFailValidation) Creates a PoolableManagedConnection.