Package org.apache.commons.dbcp2.managed
Interface TransactionContextListener
public interface TransactionContextListener
A listener for transaction completion events.
- Since:
- 2.0
- Version:
- $Id: TransactionContextListener.java 1649430 2015-01-04 21:29:32Z tn $
- Author:
- Dain Sundstrom
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCompletion
(TransactionContext transactionContext, boolean commited) Occurs after the transaction commits or rolls back.
-
Method Details
-
afterCompletion
Occurs after the transaction commits or rolls back.- Parameters:
transactionContext
- the transaction context that completedcommited
- true if the transaction committed; false otherwise
-