org.springframework.beans.factory.support

Class DefaultBeanNameGenerator

  • java.lang.Object
    • org.springframework.beans.factory.support.DefaultBeanNameGenerator
    • Constructor Detail

      • DefaultBeanNameGenerator

        public DefaultBeanNameGenerator()
    • Method Detail

      • generateBeanName

        public java.lang.String generateBeanName(BeanDefinition definition,
                                                 BeanDefinitionRegistry registry)
        Description copied from interface: BeanNameGenerator
        Generate a bean name for the given bean definition.
        Specified by:
        generateBeanName in interface BeanNameGenerator
        Parameters:
        definition - the bean definition to generate a name for
        registry - the bean definition registry that the given definition is supposed to be registered with
        Returns:
        the generated bean name