public class TransactionInterceptor extends 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() |
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) |
protected org.springframework.transaction.PlatformTransactionManager platformTransactionManager
protected org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource
protected TransactionExecutor transactionExecutor
public org.springframework.transaction.interceptor.TransactionAttributeSource getTransactionAttributeSource()
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowablepublic void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
public void setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
public void setTransactionExecutor(TransactionExecutor transactionExecutor)