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

- 使用ResourceLoaderAware的程序包
  程序包 | 说明
  --- | ---
  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.scripting.support | Support classes for Spring's scripting package.

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

    实现ResourceLoaderAware的org.springframework.context.annotation中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ClassPathBeanDefinitionScanner` A bean definition scanner that detects bean candidates on the classpath, registering corresponding bean definitions with a given registry (`BeanFactory` or `ApplicationContext`).
    `class` | `ClassPathScanningCandidateComponentProvider` A component provider that provides candidate components from a base package.
    `class` | `ConfigurationClassPostProcessor` `BeanFactoryPostProcessor` used for bootstrapping processing of `@Configuration` classes.

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

    实现ResourceLoaderAware的org.springframework.context.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ReloadableResourceBundleMessageSource` Spring-specific `MessageSource` implementation that accesses resource bundles using specified basenames, participating in the Spring `ApplicationContext`'s resource loading.

  - ### org.springframework.scripting.support中ResourceLoaderAware的使用

    实现ResourceLoaderAware的org.springframework.scripting.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ScriptFactoryPostProcessor` `BeanPostProcessor` that handles `ScriptFactory` definitions, replacing each factory with the actual scripted Java object generated by it.