Package org.apache.commons.dbcp2.managed
Interface TransactionContextListener
-
public interface TransactionContextListenerA 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterCompletion(TransactionContext transactionContext, boolean commited)Occurs after the transaction commits or rolls back.
-
-
-
Method Detail
-
afterCompletion
void afterCompletion(TransactionContext transactionContext, boolean commited)
Occurs after the transaction commits or rolls back.- Parameters:
transactionContext- the transaction context that completedcommited- true if the transaction committed; false otherwise
-
-