public class TransactionInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.transaction.PlatformTransactionManager |
platformTransactionManager |
protected org.springframework.transaction.interceptor.TransactionAttributeSource |
transactionAttributeSource |
protected TransactionExecutor |
transactionExecutor |
| Constructor and Description |
|---|
TransactionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.transaction.interceptor.TransactionAttributeSource |
getTransactionAttributeSource() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager) |
void |
setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource) |
void |
setTransactionExecutor(TransactionExecutor transactionExecutor) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
Deprecated.
As of 6.1.0, replaced by
setPlatformTransactionManager(PlatformTransactionManager) |
protected org.springframework.transaction.PlatformTransactionManager platformTransactionManager
protected org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource
protected TransactionExecutor transactionExecutor
public org.springframework.transaction.interceptor.TransactionAttributeSource getTransactionAttributeSource()
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws java.lang.Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorjava.lang.Throwablepublic void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
public void setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
public void setTransactionExecutor(TransactionExecutor transactionExecutor)
@Deprecated public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
setPlatformTransactionManager(PlatformTransactionManager)