摘要: AOP实现(一)——Advice在Spring1.2或之前的版本中,实现AOP的传统方式就是通过实现Spring的AOP API来定义Advice,并设置代理对象。Spring根据Adivce加入到业务流程的时机的不同,提供了四种不同的Advice:Before Advice、After Advice、Around Advice、Throw Advice。1、Before ... 阅读全文
posted @ 2010-04-14 22:40 瞌睡虫 阅读(294) 评论(0) 推荐(0) 编辑