Class JakartaTransactionContext
java.lang.Object
org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
org.camunda.bpm.engine.impl.cfg.jta.JakartaTransactionContext
- All Implemented Interfaces:
TransactionContext
Jakarta Transactions-based implementation of the
AbstractTransactionContext
- Author:
- Daniel Meyer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
AbstractTransactionContext.TransactionStateSynchronization
-
Field Summary
Modifier and TypeFieldDescriptionprotected final jakarta.transaction.TransactionManager
Fields inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
LOG
-
Constructor Summary
ConstructorDescriptionJakartaTransactionContext
(jakarta.transaction.TransactionManager transactionManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addTransactionListener
(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext) protected void
protected jakarta.transaction.Transaction
protected boolean
Methods inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
addTransactionListener, commit, isTransactionActive, rollback
-
Field Details
-
transactionManager
protected final jakarta.transaction.TransactionManager transactionManager
-
-
Constructor Details
-
JakartaTransactionContext
public JakartaTransactionContext(jakarta.transaction.TransactionManager transactionManager)
-
-
Method Details
-
doRollback
- Specified by:
doRollback
in classAbstractTransactionContext
- Throws:
Exception
-
addTransactionListener
protected void addTransactionListener(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext) throws Exception - Specified by:
addTransactionListener
in classAbstractTransactionContext
- Throws:
Exception
-
getTransaction
protected jakarta.transaction.Transaction getTransaction() -
isTransactionActiveInternal
- Specified by:
isTransactionActiveInternal
in classAbstractTransactionContext
- Throws:
Exception
-