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