-
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 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.Methods in org.apache.commons.dbcp2.managed with parameters of type TransactionRegistry Modifier and Type Method and 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 and 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)
Creates a TransactionContext for the specified Transaction and TransactionRegistry.
-