org.apache.commons.dbcp.managed
Interface TransactionContextListener
- All Known Implementing Classes:
- ManagedConnection.CompletionListener
public interface TransactionContextListener
A listener for transaction completion events.
- Version:
- $Revision$
- Author:
- Dain Sundstrom
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
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.