## 接口的使用
org.springframework.core.env.Environment

- 使用Environment的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.env | Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.

- - ### org.springframework.core.env中Environment的使用

    org.springframework.core.env中Environment的子接口
    限定符和类型 | 接口和说明
    --- | ---
    `interface` | `ConfigurableEnvironment` Configuration interface to be implemented by most if not all `Environment` types.

    实现Environment的org.springframework.core.env中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AbstractEnvironment` Abstract base class for `Environment` implementations.
    `class` | `StandardEnvironment` `Environment` implementation suitable for use in 'standard' (i.e. non-web) applications.

    返回Environment的org.springframework.core.env中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Environment` | EnvironmentCapable.`getEnvironment()` Return the `Environment` associated with this component.