Package | Description |
---|---|
org.apache.commons.dbcp |
Database Connection Pool API.
|
org.apache.commons.dbcp.cpdsadapter |
This package contains one public class which is a
ConnectionPoolDataSource (CPDS) implementation that can be used to
adapt older Driver based jdbc implementations. |
org.apache.commons.dbcp.managed |
This package provides support for pooling of ManagedConnections.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingCallableStatement
A base delegating implementation of
CallableStatement . |
class |
DelegatingConnection
A base delegating implementation of
Connection . |
class |
DelegatingDatabaseMetaData
A base delegating implementation of
DatabaseMetaData . |
class |
DelegatingPreparedStatement
A base delegating implementation of
PreparedStatement . |
class |
DelegatingResultSet
A base delegating implementation of
ResultSet . |
class |
DelegatingStatement
A base delegating implementation of
Statement . |
class |
PoolableCallableStatement
A
DelegatingCallableStatement that cooperates with
PoolingConnection to implement a pool of CallableStatement s. |
class |
PoolableConnection
A delegating connection that, rather than closing the underlying
connection, returns itself to an
ObjectPool when
closed. |
class |
PoolablePreparedStatement
A
DelegatingPreparedStatement that cooperates with
PoolingConnection to implement a pool of PreparedStatement s. |
class |
PoolingConnection
A
DelegatingConnection that pools PreparedStatement s. |
private class |
PoolingDataSource.PoolGuardConnectionWrapper
PoolGuardConnectionWrapper is a Connection wrapper that makes sure a
closed connection cannot be used anymore.
|
private static class |
PoolingDriver.PoolGuardConnectionWrapper
PoolGuardConnectionWrapper is a Connection wrapper that makes sure a
closed connection cannot be used anymore.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbandonedTrace.addTrace(AbandonedTrace trace)
Add an object to the list of objects being
traced.
|
private void |
AbandonedTrace.init(AbandonedTrace parent)
Initialize abandoned tracing for this object.
|
protected void |
AbandonedTrace.removeTrace(AbandonedTrace trace)
Remove a child object this object is tracing.
|
Constructor and Description |
---|
AbandonedTrace(AbandonedTrace parent)
Construct a new AbandonedTrace with a parent object.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
ConnectionImpl
This class is the
Connection that will be returned
from PooledConnectionImpl.getConnection() . |
(package private) class |
PoolablePreparedStatementStub
A
PoolablePreparedStatement stub since activate and passivate
are declared protected and we need to be able to call them within this
package. |
Modifier and Type | Class and Description |
---|---|
class |
ManagedConnection
ManagedConnection is responsible for managing a database connection in a transactional environment
(typically called "Container Managed").
|
class |
PoolableManagedConnection
PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.
|