摘要: Joinpoint:它定义在哪里加入你的逻辑功能,对于Spring AOP,Jointpoint指的就是Method。Advice:特定的Jointpoint处运行的代码,对于Spring AOP 来讲,有Before advice、AfterreturningAdvice、ThrowAdvice、AroundAdvice(MethodInteceptor)等。Pointcut:一组Joinpoint,就是说一个Advice可能在多个地方织入,Aspect:实际是Advice和Pointcut的组合,但是Spring AOP 中的Advisor也是这样一个东西,但是Spring中为什么叫Adv 阅读全文
posted @ 2013-03-06 14:50 寂静沙滩 阅读(389) 评论(0) 推荐(0) 编辑