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