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
public class JtaTransactionInterceptor extends AbstractTransactionInterceptor
JTA-based implementation of theAbstractTransactionInterceptor
- Author:
- Guillaume Nodet
-
-
Field Summary
Fields Modifier and Type Field Description protected static CommandLogger
LOG
protected 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 JtaTransactionInterceptor(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 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 TransactionManager transactionManager
-
-
Constructor Detail
-
JtaTransactionInterceptor
public JtaTransactionInterceptor(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 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
-
-