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, invoke
public Object before(AopMethodInvocation aopMethodInvocation, Object[] arguments)
before
in class ChainableMethodAdvice
public Object createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
createMethodContext
in class ChainableMethodAdvice
public void duringFinally(AopMethodInvocation aopMethodInvocation, Object[] arguments)
duringFinally
in class ChainableMethodAdvice
public void setDynamicDataSourceTargetSource(com.liferay.portal.kernel.dao.jdbc.aop.DynamicDataSourceTargetSource dynamicDataSourceTargetSource)