protected class ManagedConnection.CompletionListener extends java.lang.Object implements TransactionContextListener
ManagedConnection.transactionComplete()
for transaction completion events.Modifier | Constructor and Description |
---|---|
protected |
CompletionListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(TransactionContext completedContext,
boolean commited)
Occurs after the transaction commits or rolls back.
|
public void afterCompletion(TransactionContext completedContext, boolean commited)
TransactionContextListener
afterCompletion
in interface TransactionContextListener
completedContext
- the transaction context that completedcommited
- true if the transaction committed; false otherwise