Class AbstractTransactionContext.TransactionStateSynchronization
java.lang.Object
org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext.TransactionStateSynchronization
- Direct Known Subclasses:
JakartaTransactionContext.JtaTransactionStateSynchronization
,JtaTransactionContext.JtaTransactionStateSynchronization
- Enclosing class:
- AbstractTransactionContext
public abstract static class AbstractTransactionContext.TransactionStateSynchronization
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected final TransactionListener
protected final TransactionState
-
Constructor Summary
ConstructorDescriptionTransactionStateSynchronization
(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCompletion
(int status) void
protected abstract boolean
isCommitted
(int status) protected abstract boolean
isRolledBack
(int status)
-
Field Details
-
transactionListener
-
transactionState
-
-
Constructor Details
-
TransactionStateSynchronization
public TransactionStateSynchronization(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext)
-
-
Method Details
-
beforeCompletion
public void beforeCompletion() -
afterCompletion
public void afterCompletion(int status) -
isCommitted
protected abstract boolean isCommitted(int status) -
isRolledBack
protected abstract boolean isRolledBack(int status)
-