![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring Note
文章平均质量分 58
heweiweihe198311
这个作者很懒,什么都没留下…
展开
-
Environment
Environment 分为两类成员: profiles ,propertiesprofiles 主要设计是对应Bean 配置的。可以对bean配置进行分组,比如分为测试组,正式组。便于配置的切换。properties 主要是方便读取应用环境中普遍存在的key-value配置。比如环境变量spring 对配置很讲究一个对配置的引用,比如定义jvm_path=。。。。。。,那么在配置...原创 2013-03-10 03:17:59 · 112 阅读 · 0 评论 -
Spring PropertySource 学习
PropertySource 是PropertySources 容器唯一可存储的元素。PropertySources 定义了一个借口:1:根据key,得到value2:遍历整个容器PropertySources 在SPRING 中的唯一实现是MutablePropertySources,MutablePropertySources 不仅实现借口定义的两个功能,还增加了可以插入...原创 2012-12-02 13:10:44 · 141 阅读 · 0 评论 -
DefaultSingletonBeanRegistry
earlySingletonObjects: contains bean haven't been injected.dependentBeanMap: dependenciesForBeanMap: containedBeanMap: desposableBeans: 1.add 1.1 addSingleton add to singletonObjects...原创 2012-12-10 17:02:15 · 143 阅读 · 0 评论 -
spring expression 学习(一)
Expression interface:An expression capable of evaluating itself against context objects.Encapsulates the details of previously parsed expression string.Provides an common abstraction for express...原创 2012-12-25 18:05:43 · 122 阅读 · 0 评论