org.apache.commons.dbcp.managed
Class ManagedConnection.CompletionListener
java.lang.Object
org.apache.commons.dbcp.managed.ManagedConnection.CompletionListener
- All Implemented Interfaces:
- TransactionContextListener
- Enclosing class:
- ManagedConnection
protected class ManagedConnection.CompletionListener
- extends Object
- implements TransactionContextListener
Delegates to ManagedConnection.transactionComplete()
for transaction completion events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedConnection.CompletionListener
protected ManagedConnection.CompletionListener()
afterCompletion
public void afterCompletion(TransactionContext completedContext,
boolean commited)
- Description copied from interface:
TransactionContextListener
- Occurs after the transaction commits or rolls back.
- Specified by:
afterCompletion
in interface TransactionContextListener
- Parameters:
completedContext
- the transaction context that completedcommited
- true if the transaction committed; false otherwise
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.