public class DynamicDataSourceAdvice extends ChainableMethodAdvice
nullResult| Constructor and Description |
|---|
DynamicDataSourceAdvice() |
| Modifier and Type | Method and Description |
|---|---|
Object |
before(ServiceBeanMethodInvocation serviceBeanMethodInvocation) |
Object |
createMethodContext(Class<?> targetClass,
Method method,
Map<Class<? extends Annotation>,Annotation> annotations) |
void |
duringFinally(ServiceBeanMethodInvocation serviceBeanMethodInvocation) |
void |
setDynamicDataSourceTargetSource(com.liferay.portal.kernel.dao.jdbc.aop.DynamicDataSourceTargetSource dynamicDataSourceTargetSource) |
afterReturning, afterThrowing, invokepublic Object before(ServiceBeanMethodInvocation serviceBeanMethodInvocation) throws Throwable
before in class ChainableMethodAdviceThrowablepublic Object createMethodContext(Class<?> targetClass,
Method method,
Map<Class<? extends Annotation>,Annotation> annotations)
createMethodContext in class ChainableMethodAdvicepublic void duringFinally(ServiceBeanMethodInvocation serviceBeanMethodInvocation)
duringFinally in class ChainableMethodAdvicepublic void setDynamicDataSourceTargetSource(com.liferay.portal.kernel.dao.jdbc.aop.DynamicDataSourceTargetSource dynamicDataSourceTargetSource)