org.springframework.beans.factory.support

## 接口 BeanNameGenerator

- 所有已知实现类:
    DefaultBeanNameGenerator

      public interface BeanNameGenerator

  Strategy interface for generating bean names for bean definitions.
  从以下版本开始:
    2.0.3
  作者:
    Juergen Hoeller

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `generateBeanName(BeanDefinition definition, BeanDefinitionRegistry registry)` Generate a bean name for the given bean definition.

- - ### 方法详细资料

    - #### generateBeanName

          String generateBeanName(BeanDefinition definition,
                                  BeanDefinitionRegistry registry)

      Generate a bean name for the given bean definition.
      参数:
        `definition` - the bean definition to generate a name for
        `registry` - the bean definition registry that the given definition is supposed to be registered with
      返回:
        the generated bean name