public class SpringTransactionContext extends Object implements org.flowable.common.engine.impl.cfg.TransactionContext
Modifier and Type | Class and Description |
---|---|
protected class |
SpringTransactionContext.TransactionSynchronizationAdapter |
Modifier and Type | Field and Description |
---|---|
protected org.flowable.common.engine.impl.interceptor.CommandContext |
commandContext |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected Integer |
transactionSynchronizationAdapterOrder |
Constructor and Description |
---|
SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
Integer transactionSynchronizationAdapterOrder) |
Modifier and Type | Method and Description |
---|---|
void |
addTransactionListener(org.flowable.common.engine.impl.cfg.TransactionState transactionState,
org.flowable.common.engine.impl.cfg.TransactionListener transactionListener) |
void |
commit() |
void |
rollback() |
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected org.flowable.common.engine.impl.interceptor.CommandContext commandContext
protected Integer transactionSynchronizationAdapterOrder
public SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
public SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, Integer transactionSynchronizationAdapterOrder)
public void commit()
commit
in interface org.flowable.common.engine.impl.cfg.TransactionContext
public void rollback()
rollback
in interface org.flowable.common.engine.impl.cfg.TransactionContext
public void addTransactionListener(org.flowable.common.engine.impl.cfg.TransactionState transactionState, org.flowable.common.engine.impl.cfg.TransactionListener transactionListener)
addTransactionListener
in interface org.flowable.common.engine.impl.cfg.TransactionContext
Copyright © 2019. All rights reserved.