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
Jakarta Transactions-based implementation of the
AbstractTransactionInterceptor
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CommandLogger
protected final jakarta.transaction.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
ConstructorDescriptionJakartaTransactionInterceptor
(jakarta.transaction.TransactionManager transactionManager, boolean requiresNew, ProcessEngineConfigurationImpl processEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doBegin()
protected void
doCommit()
protected void
protected void
doRollback
(boolean isNew) protected jakarta.transaction.Transaction
protected boolean
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 Details
-
LOG
-
transactionManager
protected final jakarta.transaction.TransactionManager transactionManager
-
-
Constructor Details
-
JakartaTransactionInterceptor
public JakartaTransactionInterceptor(jakarta.transaction.TransactionManager transactionManager, boolean requiresNew, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Details
-
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
- 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
-