use of cn.taketoday.aop.aspectj.AspectJPointcutAdvisor in project today-infrastructure by TAKETODAY.
the class AspectJPrecedenceComparatorTests method createAspectJAdvice.
private Advisor createAspectJAdvice(int advisorOrder, int adviceDeclarationOrder, String aspectName, AbstractAspectJAdvice advice) {
advice.setDeclarationOrder(adviceDeclarationOrder);
advice.setAspectName(aspectName);
AspectJPointcutAdvisor advisor = new AspectJPointcutAdvisor(advice);
advisor.setOrder(advisorOrder);
return advisor;
}
use of cn.taketoday.aop.aspectj.AspectJPointcutAdvisor in project today-framework by TAKETODAY.
the class AspectJPrecedenceComparatorTests method createAspectJAdvice.
private Advisor createAspectJAdvice(int advisorOrder, int adviceDeclarationOrder, String aspectName, AbstractAspectJAdvice advice) {
advice.setDeclarationOrder(adviceDeclarationOrder);
advice.setAspectName(aspectName);
AspectJPointcutAdvisor advisor = new AspectJPointcutAdvisor(advice);
advisor.setOrder(advisorOrder);
return advisor;
}
Aggregations