public class DefaultBeanNameGenerator extends Object implements BeanNameGenerator
BeanNameGenerator
interface, delegating to
BeanDefinitionReaderUtils.generateBeanName(BeanDefinition, BeanDefinitionRegistry)
.Constructor and Description |
---|
DefaultBeanNameGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generateBeanName(BeanDefinition definition,
BeanDefinitionRegistry registry)
Generate a bean name for the given bean definition.
|
public String generateBeanName(BeanDefinition definition, BeanDefinitionRegistry registry)
BeanNameGenerator
generateBeanName
in interface BeanNameGenerator
definition
- the bean definition to generate a name forregistry
- the bean definition registry that the given definition
is supposed to be registered with