public class JCAOrderedLastSynchronizationList extends Object implements Synchronization
| Constructor and Description |
|---|
JCAOrderedLastSynchronizationList(com.arjuna.ats.jta.transaction.Transaction tx,
Map<Transaction,JCAOrderedLastSynchronizationList> jcaOrderedLastSynchronizations) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion()
Exceptions from Synchronizations that are registered with this TSR are not trapped for before completion.
|
void |
registerInterposedSynchronization(Synchronization synchronization)
This is only allowed at various points of the transaction lifecycle.
|
public JCAOrderedLastSynchronizationList(com.arjuna.ats.jta.transaction.Transaction tx,
Map<Transaction,JCAOrderedLastSynchronizationList> jcaOrderedLastSynchronizations)
public void registerInterposedSynchronization(Synchronization synchronization) throws IllegalStateException, SystemException
synchronization - The synchronization to registerIllegalStateException - In case the transaction was in a state that was not valid to register underSystemException - In case the transaction status was not knownpublic void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
afterCompletion in interface SynchronizationCopyright © 2018 JBoss by Red Hat. All rights reserved.