## 接口的使用
org.springframework.context.EnvironmentAware

- 使用EnvironmentAware的程序包
  程序包 | 说明
  --- | ---
  org.springframework.context.annotation | Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.
  org.springframework.context.support | Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.

- - ### org.springframework.context.annotation中EnvironmentAware的使用

    实现EnvironmentAware的org.springframework.context.annotation中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ConfigurationClassPostProcessor` `BeanFactoryPostProcessor` used for bootstrapping processing of `@Configuration` classes.
    `class` | `MBeanExportConfiguration` `@Configuration` class that registers a `AnnotationMBeanExporter` bean.

  - ### org.springframework.context.support中EnvironmentAware的使用

    实现EnvironmentAware的org.springframework.context.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `PropertySourcesPlaceholderConfigurer` Specialization of `PlaceholderConfigurerSupport` that resolves ${...} placeholders within bean definition property values and `@Value` annotations against the current Spring `Environment` and its set of `PropertySources`.