
Originally Posted by
Rod Johnson
Don
The interceptor chain is applied by either JdkDynamicAopProxy (for J2SE dynamic proxies) or Cglib2AopProxy, both in the org.springframework.aop.framework package. This proxy is configured by the AdvisedSupport object it refers to, which supplies the advice chain etc. (ProxyFactory and ProxyFactoryBean extend AdvisedSupport).
A MethodInvocation object flows through the interceptor chain, with the pointcut being evaluated for each piece of advice. An Advisor contains both pointcut and advice. (An advice is an object that can execute if the pointcut fires.