Uses of Class
org.apache.commons.dbcp2.managed.TransactionRegistry
Package
Description
This package provides support for pooling of ManagedConnections.
-
Uses of TransactionRegistry in org.apache.commons.dbcp2.managed
Modifier and TypeMethodDescriptionprotected TransactionRegistry
BasicManagedDataSource.getTransactionRegistry()
Gets the transaction registry.DataSourceXAConnectionFactory.getTransactionRegistry()
LocalXAConnectionFactory.getTransactionRegistry()
ManagedConnection.getTransactionRegistry()
ManagedDataSource.getTransactionRegistry()
Gets the transaction registry.PoolableManagedConnection.getTransactionRegistry()
PoolableManagedConnectionFactory.getTransactionRegistry()
XAConnectionFactory.getTransactionRegistry()
Gets the TransactionRegistry for this connection factory which contains the XAResource for every connection created by this factory.Modifier and TypeMethodDescriptionvoid
ManagedDataSource.setTransactionRegistry
(TransactionRegistry transactionRegistry) Sets the transaction registry from the XAConnectionFactory used to create the pool.ModifierConstructorDescriptionManagedConnection
(ObjectPool<C> pool, TransactionRegistry transactionRegistry, boolean accessToUnderlyingConnectionAllowed) Constructs a new instance responsible for managing a database connection in a transactional environment.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) Provided for backwards compatibilityTransactionContext
(TransactionRegistry transactionRegistry, Transaction transaction, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Creates a TransactionContext for the specified Transaction and TransactionRegistry.