## 接口的使用
org.springframework.beans.factory.parsing.ReaderEventListener

- 使用ReaderEventListener的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans.factory.parsing | Support infrastructure for bean definition parsing.
  org.springframework.beans.factory.xml | Contains an abstract XML-based `BeanFactory` implementation, including a standard "spring-beans" XSD.

- - ### org.springframework.beans.factory.parsing中ReaderEventListener的使用

    实现ReaderEventListener的org.springframework.beans.factory.parsing中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `EmptyReaderEventListener` Empty implementation of the `ReaderEventListener` interface, providing no-op implementations of all callback methods.

    参数类型为ReaderEventListener的org.springframework.beans.factory.parsing中的构造器
    构造器和说明
    `ReaderContext(org.springframework.core.io.Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor)` Construct a new `ReaderContext`.

  - ### org.springframework.beans.factory.xml中ReaderEventListener的使用

    参数类型为ReaderEventListener的org.springframework.beans.factory.xml中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | XmlBeanDefinitionReader.`setEventListener(ReaderEventListener eventListener)` Specify which `ReaderEventListener` to use.

    参数类型为ReaderEventListener的org.springframework.beans.factory.xml中的构造器
    构造器和说明
    `XmlReaderContext(org.springframework.core.io.Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor, XmlBeanDefinitionReader reader, NamespaceHandlerResolver namespaceHandlerResolver)` Construct a new `XmlReaderContext`.