Class ManagedConnection.CompletionListener
- java.lang.Object
- 
- org.apache.tomcat.dbcp.dbcp2.managed.ManagedConnection.CompletionListener
 
- 
- All Implemented Interfaces:
- TransactionContextListener
 - Enclosing class:
- ManagedConnection<C extends java.sql.Connection>
 
 protected class ManagedConnection.CompletionListener extends java.lang.Object implements TransactionContextListener Delegates toManagedConnection.transactionComplete()for transaction completion events.- Since:
- 2.0
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedCompletionListener()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCompletion(TransactionContext completedContext, boolean committed)Occurs after the transaction commits or rolls back.
 
- 
- 
- 
Method Detail- 
afterCompletionpublic void afterCompletion(TransactionContext completedContext, boolean committed) Description copied from interface:TransactionContextListenerOccurs after the transaction commits or rolls back.- Specified by:
- afterCompletionin interface- TransactionContextListener
- Parameters:
- completedContext- the transaction context that completed
- committed- true if the transaction committed; false otherwise
 
 
- 
 
-