Uses of Class
org.apache.commons.dbcp2.managed.TransactionRegistry
Packages that use TransactionRegistry
Package
Description
This package provides support for pooling of ManagedConnections.
-
Uses of TransactionRegistry in org.apache.commons.dbcp2.managed
Methods in org.apache.commons.dbcp2.managed that return TransactionRegistryModifier and TypeMethodDescriptionprotected TransactionRegistry
BasicManagedDataSource.getTransactionRegistry()
Gets the transaction registry.DataSourceXAConnectionFactory.getTransactionRegistry()
LocalXAConnectionFactory.getTransactionRegistry()
Gets the transaction registry.ManagedConnection.getTransactionRegistry()
Gets the transaction registry.ManagedDataSource.getTransactionRegistry()
Gets the transaction registry.PoolableManagedConnection.getTransactionRegistry()
Gets the transaction registry.PoolableManagedConnectionFactory.getTransactionRegistry()
Gets the transaction registry.XAConnectionFactory.getTransactionRegistry()
Gets the TransactionRegistry for this connection factory which contains the XAResource for every connection created by this factory.Methods in org.apache.commons.dbcp2.managed with parameters of type TransactionRegistryModifier and TypeMethodDescriptionvoid
ManagedDataSource.setTransactionRegistry
(TransactionRegistry transactionRegistry) Sets the transaction registry from the XAConnectionFactory used to create the pool.Constructors in org.apache.commons.dbcp2.managed with parameters of type TransactionRegistryModifierConstructorDescriptionManagedConnection
(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) 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.TransactionContext
(TransactionRegistry transactionRegistry, Transaction transaction) Provided for backwards compatibilityTransactionContext
(TransactionRegistry transactionRegistry, Transaction transaction, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Creates a TransactionContext for the specified Transaction and TransactionRegistry.