protected static class JTASessionContext.CleanupSync extends Object implements Synchronization
| Constructor and Description |
|---|
CleanupSync(Object transactionIdentifier,
JTASessionContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int i)
This method is invoked after the transaction has committed or
rolled back.
|
void |
beforeCompletion()
This method is invoked before the start of the commit
process.
|
public CleanupSync(Object transactionIdentifier, JTASessionContext context)
public void beforeCompletion()
SynchronizationbeforeCompletion in interface Synchronizationpublic void afterCompletion(int i)
SynchronizationafterCompletion in interface Synchronizationi - The status of the completed transaction.Copyright © 2017 JBoss by Red Hat. All rights reserved.