Package org.camunda.bpm.engine.spring
Class SpringTransactionInterceptor
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
org.camunda.bpm.engine.spring.SpringTransactionInterceptor
- All Implemented Interfaces:
CommandExecutor
- Author:
- Dave Syer, Tom Baeyens
-
Field Summary
Modifier and TypeFieldDescriptionprotected ProcessEngineConfigurationImpl
protected org.springframework.transaction.PlatformTransactionManager
protected int
Fields inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
next
-
Constructor Summary
ConstructorDescriptionSpringTransactionInterceptor
(org.springframework.transaction.PlatformTransactionManager transactionManager, int transactionPropagation) Deprecated.SpringTransactionInterceptor
(org.springframework.transaction.PlatformTransactionManager transactionManager, int transactionPropagation, ProcessEngineConfigurationImpl processEngineConfiguration) -
Method Summary
Methods inherited from class org.camunda.bpm.engine.impl.interceptor.CommandInterceptor
getNext, setNext
-
Field Details
-
transactionManager
protected org.springframework.transaction.PlatformTransactionManager transactionManager -
transactionPropagation
protected int transactionPropagation -
processEngineConfiguration
-
-
Constructor Details
-
SpringTransactionInterceptor
@Deprecated public SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager, int transactionPropagation) Deprecated.use theSpringTransactionInterceptor(PlatformTransactionManager, int, ProcessEngineConfigurationImpl)
constructor to ensure that concurrency conflicts that occur on transaction commit are detected and handled in all cases -
SpringTransactionInterceptor
public SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager, int transactionPropagation, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Details
-
execute
-
SpringTransactionInterceptor(PlatformTransactionManager, int, ProcessEngineConfigurationImpl)
constructor to ensure that concurrency conflicts that occur on transaction commit are detected and handled in all cases