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
public class JakartaTransactionContext extends AbstractTransactionContext
Jakarta Transactions-based implementation of theAbstractTransactionContext
- Author:
- Daniel Meyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JakartaTransactionContext.JtaTransactionStateSynchronization
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
AbstractTransactionContext.TransactionStateSynchronization
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.transaction.TransactionManager
transactionManager
-
Fields inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
LOG
-
-
Constructor Summary
Constructors Constructor Description JakartaTransactionContext(jakarta.transaction.TransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTransactionListener(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext)
protected void
doRollback()
protected jakarta.transaction.Transaction
getTransaction()
protected boolean
isTransactionActiveInternal()
-
Methods inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
addTransactionListener, commit, isTransactionActive, rollback
-
-
-
-
Method Detail
-
doRollback
protected void doRollback() throws java.lang.Exception
- Specified by:
doRollback
in classAbstractTransactionContext
- Throws:
java.lang.Exception
-
addTransactionListener
protected void addTransactionListener(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext) throws java.lang.Exception
- Specified by:
addTransactionListener
in classAbstractTransactionContext
- Throws:
java.lang.Exception
-
getTransaction
protected jakarta.transaction.Transaction getTransaction()
-
isTransactionActiveInternal
protected boolean isTransactionActiveInternal() throws java.lang.Exception
- Specified by:
isTransactionActiveInternal
in classAbstractTransactionContext
- Throws:
java.lang.Exception
-
-