Class JtaTransactionInterceptor
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
org.camunda.bpm.engine.impl.interceptor.AbstractTransactionInterceptor
org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor
- All Implemented Interfaces:
CommandExecutor
JTA-based implementation of the
AbstractTransactionInterceptor
- Author:
- Guillaume Nodet
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CommandLogger
protected final javax.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
ConstructorDescriptionJtaTransactionInterceptor
(javax.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 javax.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 javax.transaction.TransactionManager transactionManager
-
-
Constructor Details
-
JtaTransactionInterceptor
public JtaTransactionInterceptor(javax.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 javax.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
-