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 javax.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 JtaTransactionInterceptor(javax.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(java.lang.Object tx)
protected void
doRollback(boolean isNew)
protected javax.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 javax.transaction.TransactionManager transactionManager
-
-
Constructor Detail
-
JtaTransactionInterceptor
public JtaTransactionInterceptor(javax.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 javax.transaction.Transaction doSuspend()
- Specified by:
doSuspend
in classAbstractTransactionInterceptor
-
doResume
protected void doResume(java.lang.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
-
-