public class DynamicDataSourceAdvice extends ChainableMethodAdvice
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager
Constructor and Description |
---|
DynamicDataSourceAdvice() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
before(MethodInvocation methodInvocation) |
void |
duringFinally(MethodInvocation methodInvocation) |
void |
setDynamicDataSourceTargetSource(DynamicDataSourceTargetSource dynamicDataSourceTargetSource) |
protected void |
setServiceBeanAopCacheManager(ServiceBeanAopCacheManager serviceBeanAopCacheManager) |
void |
setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource) |
afterReturning, afterThrowing, invoke, setNextMethodInterceptor
public java.lang.Object before(MethodInvocation methodInvocation) throws java.lang.Throwable
before
in class ChainableMethodAdvice
java.lang.Throwable
public void duringFinally(MethodInvocation methodInvocation)
duringFinally
in class ChainableMethodAdvice
public void setDynamicDataSourceTargetSource(DynamicDataSourceTargetSource dynamicDataSourceTargetSource)
public void setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
protected void setServiceBeanAopCacheManager(ServiceBeanAopCacheManager serviceBeanAopCacheManager)
setServiceBeanAopCacheManager
in class ChainableMethodAdvice