spring源码分析之spring-core-env

看一下源码整体:

抓住主要点,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.

原文地址:https://www.cnblogs.com/davidwang456/p/5661222.html