public class SpringTransactionInterceptor extends CommandInterceptor
Modifier and Type | Field and Description |
---|---|
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected int |
transactionPropagation |
next
Constructor and Description |
---|
SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager,
int transactionPropagation) |
Modifier and Type | Method and Description |
---|---|
<T> T |
execute(Command<T> command) |
getNext, setNext
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected int transactionPropagation
public SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager, int transactionPropagation)
public <T> T execute(Command<T> command)
Copyright © 2020. All rights reserved.