# Uses of Class
org.apache.commons.dbcp2.managed.TransactionContext

Packages that use TransactionContext
Package
Description
org.apache.commons.dbcp2.managed
This package provides support for pooling of ManagedConnections.

- ## Uses of TransactionContext in org.apache.commons.dbcp2.managed

  Methods in org.apache.commons.dbcp2.managed that return TransactionContext
  Modifier and Type
  Method
  Description
  `TransactionContext`
  TransactionRegistry.`getActiveTransactionContext()`
  Gets the active TransactionContext or null if not Transaction is active.
  `TransactionContext`
  ManagedConnection.`getTransactionContext()`
  Methods in org.apache.commons.dbcp2.managed with parameters of type TransactionContext
  Modifier and Type
  Method
  Description
  `void`
  ManagedConnection.CompletionListener.`afterCompletion(TransactionContext completedContext, boolean committed)`
  `void`
  TransactionContextListener.`afterCompletion(TransactionContext transactionContext, boolean committed)`
  Occurs after the transaction commits or rolls back.