org.springframework.beans.factory.parsing

## 类 AbstractComponentDefinition

- java.lang.Object
- - org.springframework.beans.factory.parsing.AbstractComponentDefinition

- 所有已实现的接口:
    BeanMetadataElement, ComponentDefinition
  直接已知子类:
    CompositeComponentDefinition

      public abstract class AbstractComponentDefinition
      extends Object
      implements ComponentDefinition

  Base implementation of `ComponentDefinition` that provides a basic implementation of `getDescription()` which delegates to `ComponentDefinition.getName()`. Also provides a base implementation of `toString()` which delegates to `getDescription()` in keeping with the recommended implementation strategy. Also provides default implementations of `getInnerBeanDefinitions()` and `getBeanReferences()` that return an empty array.
  从以下版本开始:
    2.0
  作者:
    Rob Harrop, Juergen Hoeller

- - ### 构造器概要

    构造器
    构造器和说明
    `AbstractComponentDefinition()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `BeanDefinition[]` | `getBeanDefinitions()` Returns an empty array.
    `BeanReference[]` | `getBeanReferences()` Returns an empty array.
    `String` | `getDescription()` Delegates to `ComponentDefinition.getName()`.
    `BeanDefinition[]` | `getInnerBeanDefinitions()` Returns an empty array.
    `String` | `toString()` Delegates to `getDescription()`.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### 从接口继承的方法 org.springframework.beans.factory.parsing.ComponentDefinition

      `getName`

    - ### 从接口继承的方法 org.springframework.beans.BeanMetadataElement

      `getSource`

- - ### 构造器详细资料

    - #### AbstractComponentDefinition

          public AbstractComponentDefinition()

  - ### 方法详细资料

    - #### getDescription

          public String getDescription()

      Delegates to `ComponentDefinition.getName()`.
      指定者:
        `getDescription` 在接口中 `ComponentDefinition`

    - #### getBeanDefinitions

          public BeanDefinition[] getBeanDefinitions()

      Returns an empty array.
      指定者:
        `getBeanDefinitions` 在接口中 `ComponentDefinition`
      返回:
        the array of BeanDefinitions, or an empty array if none

    - #### getInnerBeanDefinitions

          public BeanDefinition[] getInnerBeanDefinitions()

      Returns an empty array.
      指定者:
        `getInnerBeanDefinitions` 在接口中 `ComponentDefinition`
      返回:
        the array of BeanDefinitions, or an empty array if none

    - #### getBeanReferences

          public BeanReference[] getBeanReferences()

      Returns an empty array.
      指定者:
        `getBeanReferences` 在接口中 `ComponentDefinition`
      返回:
        the array of BeanReferences, or an empty array if none

    - #### toString

          public String toString()

      Delegates to `getDescription()`.
      覆盖:
        `toString` 在类中 `Object`