public class SynchronizationAdapter extends AbstractEnlistmentAdapter implements Synchronization
Synchronization implementation for integrating with the TM.
See ISPN-888 for more information on this.| Constructor and Description |
|---|
SynchronizationAdapter(LocalTransaction localTransaction,
TransactionTable txTable) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status)
This method is called by the transaction
manager after the transaction is committed or rolled back.
|
void |
beforeCompletion()
The beforeCompletion method is called by the transaction manager prior
to the start of the two-phase transaction commit process.
|
boolean |
equals(Object o) |
String |
toString() |
hashCodepublic SynchronizationAdapter(LocalTransaction localTransaction, TransactionTable txTable)
public void beforeCompletion()
SynchronizationbeforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
SynchronizationafterCompletion in interface Synchronizationstatus - The status of the transaction completion.Copyright © 2021 JBoss by Red Hat. All rights reserved.