spring aop探寻之After Advice
前一篇 spring aop探寻之Before Advice
http://hehaibo.iteye.com/admin/blogs/1836392
?
首先来看个错误
?我们来看看这行代码
?
我想我们看到这个类图就清楚了。
接下来我们再看DefaultAdvisorChainFactory 类中的这行代码
?因为我定义这个类
org.springframework.aop.framework.adapter.UnknownAdviceTypeException: Advice object [com.hhb.biap.interceptor.after.InvokeLogAterAdvice@c59ad5] is neither a supported subinterface of [org.aopalliance.aop.Advice] nor an [org.springframework.aop.Advisor]?spring真精妙~
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?