use of org.springframework.aop.aspectj.AspectJPointcutAdvisor in project spring-framework by spring-projects.
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