org.springframework.beans.factory.support

## 类 DefaultBeanNameGenerator

- java.lang.Object
- - org.springframework.beans.factory.support.DefaultBeanNameGenerator

- 所有已实现的接口:
    BeanNameGenerator

      public class DefaultBeanNameGenerator
      extends Object
      implements BeanNameGenerator

  Default implementation of the `BeanNameGenerator` interface, delegating to `BeanDefinitionReaderUtils.generateBeanName(BeanDefinition, BeanDefinitionRegistry)`.
  从以下版本开始:
    2.0.3
  作者:
    Juergen Hoeller

- - ### 构造器概要

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

  - ### 方法概要

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

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

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

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

    - #### DefaultBeanNameGenerator

          public DefaultBeanNameGenerator()

  - ### 方法详细资料

    - #### generateBeanName

          public String generateBeanName(BeanDefinition definition,
                                         BeanDefinitionRegistry registry)

      从接口复制的说明: `BeanNameGenerator`
      Generate a bean name for the given bean definition.
      指定者:
        `generateBeanName` 在接口中 `BeanNameGenerator`
      参数:
        `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