摘要: 6.2.1 准备环境 首先准备开发需要的jar包,请到spring-framework-3.0.5.RELEASE-dependencies.zip和spring-framework-3.0.5.RELEASE-with-docs中查找如下jar包: org.springframework.aop- 阅读全文
posted @ 2018-03-01 16:42 午火39 阅读(238) 评论(0) 推荐(0)
摘要: 5.4.1 xml风格的配置 SpEL支持在Bean定义时注入,默认使用“#{SpEL表达式}”表示,其中“#root”根对象默认可以认为是ApplicationContext,只有ApplicationContext实现默认支持SpEL,获取根对象属性其实是获取容器中的Bean。 首先看下配置方式 阅读全文
posted @ 2018-03-01 09:49 午火39 阅读(722) 评论(0) 推荐(0)