public static class JtaTransactionContext.TransactionStateSynchronization extends Object implements Synchronization
Modifier and Type | Field and Description |
---|---|
protected TransactionListener |
transactionListener |
protected TransactionState |
transactionState |
Constructor and Description |
---|
TransactionStateSynchronization(TransactionState transactionState,
TransactionListener transactionListener,
CommandContext commandContext) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
protected final TransactionListener transactionListener
protected final TransactionState transactionState
public TransactionStateSynchronization(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext)
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
Copyright © 2021. All rights reserved.