protected class ManagedConnection.CompletionListener extends java.lang.Object implements TransactionContextListener
ManagedConnection.transactionComplete() for transaction completion events.| 限定符 | 构造器和说明 |
|---|---|
protected |
CompletionListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterCompletion(TransactionContext completedContext,
boolean committed)
Occurs after the transaction commits or rolls back.
|
public void afterCompletion(TransactionContext completedContext, boolean committed)
TransactionContextListenerafterCompletion 在接口中 TransactionContextListenercompletedContext - the transaction context that completedcommitted - true if the transaction committed; false otherwise