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