Interface ConfigurationBeanNameGenerator

All Superinterfaces:
BeanNameGenerator
All Known Implementing Classes:
FullyQualifiedConfigurationBeanNameGenerator

public interface ConfigurationBeanNameGenerator extends BeanNameGenerator
Extended variant of BeanNameGenerator for @Configuration class purposes, not only covering bean name generation for component and configuration classes themselves but also for @Bean methods without a name attribute specified on the annotation itself.
Since:
7.0
Author:
Juergen Hoeller
See Also:
  • Method Details

    • deriveBeanName

      String deriveBeanName(MethodMetadata beanMethod)
      Derive a default bean name for the given @Bean method, in the absence of a name attribute specified.
      Parameters:
      beanMethod - the method metadata for the @Bean method
      Returns:
      the default bean name to use