TransactionContextListener
protected class ManagedConnection.CompletionListener extends java.lang.Object implements TransactionContextListener
ManagedConnection.transactionComplete()
for transaction completion events.Modifier | Constructor | Description |
---|---|---|
protected |
CompletionListener() |
Modifier and Type | Method | Description |
---|---|---|
void |
afterCompletion(TransactionContext completedContext,
boolean committed) |
Occurs after the transaction commits or rolls back.
|
public void afterCompletion(TransactionContext completedContext, boolean committed)
TransactionContextListener
afterCompletion
in interface TransactionContextListener
completedContext
- the transaction context that completedcommitted
- true if the transaction committed; false otherwiseCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.