看一下源码整体:

抓住主要点,Environment、PropertyResolver、PropertySource,其结构如下:

 

其中,

Environment:Interface representing the environment in which the current application is running.

 PropertyResolver:Interface for resolving properties against any underlying source.

PropertySource:Abstract base class representing a source of name/value property pairs.

posted on 2016-07-15 15:25  一天不进步,就是退步  阅读(427)  评论(0编辑  收藏  举报