org.springframework.beans.factory.config

## 接口 BeanReference

- 所有超级接口:
    BeanMetadataElement
  所有已知实现类:
    RuntimeBeanNameReference, RuntimeBeanReference

      public interface BeanReference
      extends BeanMetadataElement

  Interface that exposes a reference to a bean name in an abstract fashion. This interface does not necessarily imply a reference to an actual bean instance; it just expresses a logical reference to the name of a bean.

  Serves as common interface implemented by any kind of bean reference holder, such as `RuntimeBeanReference` and `RuntimeBeanNameReference`.

  从以下版本开始:
    2.0
  作者:
    Juergen Hoeller

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBeanName()` Return the target bean name that this reference points to (never `null`).

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

      `getSource`

- - ### 方法详细资料

    - #### getBeanName

          String getBeanName()

      Return the target bean name that this reference points to (never `null`).