use of cn.taketoday.aop.Advisor in project today-framework by TAKETODAY.
the class SimpleBeforeAdviceInterceptor method getAdviceImpl.
private SimpleBeforeAdviceImpl getAdviceImpl(ITestBean tb) {
Advised advised = (Advised) tb;
Advisor advisor = advised.getAdvisors()[0];
return (SimpleBeforeAdviceImpl) advisor.getAdvice();
}
Aggregations