Class JakartaTransactionInterceptor
- java.lang.Object
-
- org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
-
- org.camunda.bpm.engine.impl.interceptor.AbstractTransactionInterceptor
-
- org.camunda.bpm.engine.impl.interceptor.JakartaTransactionInterceptor
-
- All Implemented Interfaces:
CommandExecutor
public class JakartaTransactionInterceptor extends AbstractTransactionInterceptor
Jakarta Transactions-based implementation of theAbstractTransactionInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected static CommandLogger
LOG
protected jakarta.transaction.TransactionManager
transactionManager
-
Fields inherited from class org.camunda.bpm.engine.impl.interceptor.AbstractTransactionInterceptor
processEngineConfiguration, requiresNew
-
Fields inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
next
-
-
Constructor Summary
Constructors Constructor Description JakartaTransactionInterceptor(jakarta.transaction.TransactionManager transactionManager, boolean requiresNew, ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doBegin()
protected void
doCommit()
protected void
doResume(Object tx)
protected void
doRollback(boolean isNew)
protected jakarta.transaction.Transaction
doSuspend()
protected boolean
isExisting()
-
Methods inherited from class org.camunda.bpm.engine.impl.interceptor.AbstractTransactionInterceptor
execute, handleRollbackException
-
Methods inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
getNext, setNext
-
-
-
-
Field Detail
-
LOG
protected static final CommandLogger LOG
-
transactionManager
protected final jakarta.transaction.TransactionManager transactionManager
-
-
Constructor Detail
-
JakartaTransactionInterceptor
public JakartaTransactionInterceptor(jakarta.transaction.TransactionManager transactionManager, boolean requiresNew, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Detail
-
doBegin
protected void doBegin()
- Specified by:
doBegin
in classAbstractTransactionInterceptor
-
isExisting
protected boolean isExisting()
- Specified by:
isExisting
in classAbstractTransactionInterceptor
-
doSuspend
protected jakarta.transaction.Transaction doSuspend()
- Specified by:
doSuspend
in classAbstractTransactionInterceptor
-
doResume
protected void doResume(Object tx)
- Specified by:
doResume
in classAbstractTransactionInterceptor
-
doCommit
protected void doCommit()
- Specified by:
doCommit
in classAbstractTransactionInterceptor
-
doRollback
protected void doRollback(boolean isNew)
- Specified by:
doRollback
in classAbstractTransactionInterceptor
-
-