Uses of Class
org.apache.commons.dbcp2.managed.TransactionRegistry
-
Packages that use TransactionRegistry Package Description org.apache.commons.dbcp2.managed 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 TransactionRegistry Modifier and Type Method Description protected TransactionRegistry
BasicManagedDataSource. getTransactionRegistry()
Gets the transaction registry.TransactionRegistry
DataSourceXAConnectionFactory. getTransactionRegistry()
TransactionRegistry
LocalXAConnectionFactory. getTransactionRegistry()
TransactionRegistry
ManagedConnection. getTransactionRegistry()
TransactionRegistry
ManagedDataSource. getTransactionRegistry()
Gets the transaction registry.TransactionRegistry
PoolableManagedConnection. getTransactionRegistry()
TransactionRegistry
PoolableManagedConnectionFactory. getTransactionRegistry()
TransactionRegistry
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 TransactionRegistry Modifier and Type Method Description void
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 TransactionRegistry Constructor Description ManagedConnection(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.
-