Mixing Aspect Types

通过使用自动代理支持、模式定义的 <aop:aspect> 切面、<aop:advisor> 声明的切面以及其他样式的代理和拦截器,完全可以在同一配置中混合使用 @AspectJ 样式切面。所有这些都是使用相同的底层支持机制实现的,并且可以毫无困难地共存。

It is perfectly possible to mix @AspectJ style aspects by using the auto-proxying support, schema-defined <aop:aspect> aspects, <aop:advisor> declared advisors, and even proxies and interceptors in other styles in the same configuration. All of these are implemented by using the same underlying support mechanism and can co-exist without any difficulty.