Package | Description |
---|---|
org.apache.commons.dbcp2.managed |
This package provides support for pooling of ManagedConnections.
|
Modifier and Type | Method and Description |
---|---|
TransactionRegistry |
XAConnectionFactory.getTransactionRegistry()
Gets the TransactionRegistry for this connection factory which contains a the
XAResource for every connection created by this factory.
|
TransactionRegistry |
LocalXAConnectionFactory.getTransactionRegistry() |
TransactionRegistry |
DataSourceXAConnectionFactory.getTransactionRegistry() |
protected TransactionRegistry |
BasicManagedDataSource.getTransactionRegistry()
Gets the transaction registry.
|
Modifier and Type | Method and Description |
---|---|
void |
ManagedDataSource.setTransactionRegistry(TransactionRegistry transactionRegistry)
Sets the transaction registry from the XAConnectionFactory used to create the pool.
|
Constructor and Description |
---|
ManagedConnection(ObjectPool<C> pool,
TransactionRegistry transactionRegistry,
boolean accessToUnderlyingConnectionAllowed) |
ManagedDataSource(ObjectPool<C> pool,
TransactionRegistry transactionRegistry)
Creates a ManagedDataSource which obtains connections from the specified pool and
manages them using the specified transaction registry.
|
PoolableManagedConnection(TransactionRegistry transactionRegistry,
Connection conn,
ObjectPool<PoolableConnection> pool)
Create a PoolableManagedConnection.
|
PoolableManagedConnection(TransactionRegistry transactionRegistry,
Connection conn,
ObjectPool<PoolableConnection> pool,
Collection<String> disconnectSqlCodes,
boolean fastFailValidation)
Create a PoolableManagedConnection.
|
TransactionContext(TransactionRegistry transactionRegistry,
Transaction transaction)
Creates a TransactionContext for the specified Transaction and TransactionRegistry.
|
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.