com.liferay.portal.dao.jdbc.aop
Class DynamicDataSourceAdvice
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
com.liferay.portal.dao.jdbc.aop.DynamicDataSourceAdvice
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class DynamicDataSourceAdvice
- extends ChainableMethodAdvice
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicDataSourceAdvice
public DynamicDataSourceAdvice()
before
public Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Overrides:
before
in class ChainableMethodAdvice
- Throws:
Throwable
duringFinally
public void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
- Overrides:
duringFinally
in class ChainableMethodAdvice
setDynamicDataSourceTargetSource
public void setDynamicDataSourceTargetSource(DynamicDataSourceTargetSource dynamicDataSourceTargetSource)
setTransactionAttributeSource
public void setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
setServiceBeanAopCacheManager
protected void setServiceBeanAopCacheManager(ServiceBeanAopCacheManager serviceBeanAopCacheManager)
- Overrides:
setServiceBeanAopCacheManager
in class ChainableMethodAdvice