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

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

    实现ComponentDefinition的org.springframework.beans.factory.parsing中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AbstractComponentDefinition` Base implementation of `ComponentDefinition` that provides a basic implementation of `AbstractComponentDefinition.getDescription()` which delegates to `getName()`.
    `class` | `BeanComponentDefinition` ComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean.
    `class` | `CompositeComponentDefinition` `ComponentDefinition` implementation that holds one or more nested `ComponentDefinition` instances, aggregating them into a named group of components.

    返回ComponentDefinition的org.springframework.beans.factory.parsing中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ComponentDefinition[]` | CompositeComponentDefinition.`getNestedComponents()` Return the nested components that this composite component holds.

    参数类型为ComponentDefinition的org.springframework.beans.factory.parsing中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | CompositeComponentDefinition.`addNestedComponent(ComponentDefinition component)` Add the given component as nested element of this composite component.
    `void` | EmptyReaderEventListener.`componentRegistered(ComponentDefinition componentDefinition)`
    `void` | ReaderEventListener.`componentRegistered(ComponentDefinition componentDefinition)` Notification that the given component has been registered.
    `void` | ReaderContext.`fireComponentRegistered(ComponentDefinition componentDefinition)` Fire an component-registered event.

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

    参数类型为ComponentDefinition的org.springframework.beans.factory.xml中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | ParserContext.`registerComponent(ComponentDefinition component)`