public class DynamicDataSourceAdvice extends AnnotationChainableMethodAdvice<com.liferay.portal.kernel.dao.jdbc.aop.MasterDataSource>
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager| Constructor and Description |
|---|
DynamicDataSourceAdvice() |
| Modifier and Type | Method and Description |
|---|---|
Object |
before(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation) |
protected com.liferay.portal.kernel.dao.jdbc.aop.MasterDataSource |
findAnnotation(org.aopalliance.intercept.MethodInvocation methodInvocation) |
com.liferay.portal.kernel.dao.jdbc.aop.MasterDataSource |
getNullAnnotation() |
void |
setDynamicDataSourceTargetSource(com.liferay.portal.kernel.dao.jdbc.aop.DynamicDataSourceTargetSource dynamicDataSourceTargetSource) |
protected void |
setServiceBeanAopCacheManager(ServiceBeanAopCacheManager serviceBeanAopCacheManager) |
void |
setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
void |
setTransactionInterceptor(TransactionInterceptor transactionInterceptor) |
getAnnotationClassafterReturning, afterThrowing, invoke, setNextMethodInterceptorpublic Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
before in class ChainableMethodAdviceThrowablepublic void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
duringFinally in class ChainableMethodAdvicepublic com.liferay.portal.kernel.dao.jdbc.aop.MasterDataSource getNullAnnotation()
getNullAnnotation in class AnnotationChainableMethodAdvice<com.liferay.portal.kernel.dao.jdbc.aop.MasterDataSource>public void setDynamicDataSourceTargetSource(com.liferay.portal.kernel.dao.jdbc.aop.DynamicDataSourceTargetSource dynamicDataSourceTargetSource)
@Deprecated public void setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
public void setTransactionInterceptor(TransactionInterceptor transactionInterceptor)
protected com.liferay.portal.kernel.dao.jdbc.aop.MasterDataSource findAnnotation(org.aopalliance.intercept.MethodInvocation methodInvocation)
findAnnotation in class AnnotationChainableMethodAdvice<com.liferay.portal.kernel.dao.jdbc.aop.MasterDataSource>protected void setServiceBeanAopCacheManager(ServiceBeanAopCacheManager serviceBeanAopCacheManager)
setServiceBeanAopCacheManager in class ChainableMethodAdvice