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

- 使用HierarchicalMessageSource的程序包
  程序包 | 说明
  --- | ---
  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.support中HierarchicalMessageSource的使用

    实现HierarchicalMessageSource的org.springframework.context.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AbstractMessageSource` Abstract implementation of the `HierarchicalMessageSource` interface, implementing common handling of message variants, making it easy to implement a specific strategy for a concrete MessageSource.
    `class` | `AbstractResourceBasedMessageSource` Abstract base class for `MessageSource` implementations based on resource bundle conventions, such as `ResourceBundleMessageSource` and `ReloadableResourceBundleMessageSource`.
    `class` | `DelegatingMessageSource` Empty `MessageSource` that delegates all calls to the parent MessageSource.
    `class` | `ReloadableResourceBundleMessageSource` Spring-specific `MessageSource` implementation that accesses resource bundles using specified basenames, participating in the Spring `ApplicationContext`'s resource loading.
    `class` | `ResourceBundleMessageSource` `MessageSource` implementation that accesses resource bundles using specified basenames.
    `class` | `StaticMessageSource` Simple implementation of `MessageSource` which allows messages to be registered programmatically.