随笔分类 -  Spring

上一页 1 2
spring component-scan filter
摘要:(参考的Spring version : 4.1.6.RELEASE) 我们通常会使用component-scan来进行bean的加载,但是它里面的实现机制却是一知半解。根据原码来理解一下,可能会更加清晰。 例如,我们通常会使用如下的配置: application.xml: spring-servl 阅读全文
posted @ 2015-12-22 22:48 快鸟 阅读(12887) 评论(0) 推荐(1)
Spring AOP中pointcut expression表达式解析
摘要:Pointcut 是指那些方法需要被执行"AOP",是由"Pointcut Expression"来描述的。 Pointcut可以有下列方式来定义或者通过&& || 和!的方式进行组合. 其中execution 是用的最多的,其格式为: returning type pattern,name pat 阅读全文
posted @ 2012-09-12 11:58 快鸟 阅读(5325) 评论(0) 推荐(1)

上一页 1 2