# 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()`
  Gets the transaction context.
  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)`
  Called after a transaction commits or rolls back.