use of cn.taketoday.aop.BeforeAdvice in project today-infrastructure by TAKETODAY.
the class AspectJPrecedenceComparatorTests method createSpringAOPBeforeAdvice.
private Advisor createSpringAOPBeforeAdvice(int order) {
BeforeAdvice advice = new BeforeAdvice() {
};
DefaultPointcutAdvisor advisor = new DefaultPointcutAdvisor(this.anyOldPointcut, advice);
advisor.setOrder(order);
return advisor;
}
use of cn.taketoday.aop.BeforeAdvice in project today-framework by TAKETODAY.
the class AspectJPrecedenceComparatorTests method createSpringAOPBeforeAdvice.
private Advisor createSpringAOPBeforeAdvice(int order) {
BeforeAdvice advice = new BeforeAdvice() {
};
DefaultPointcutAdvisor advisor = new DefaultPointcutAdvisor(this.anyOldPointcut, advice);
advisor.setOrder(order);
return advisor;
}
Aggregations