The following log message uses the beanName instead of the methodName when generating the fully-qualified method name; however, the beanName might be sourced from @Bean(name = ...) (or a registered ConfigurationBeanNameGenerator beginning with Spring Framework 7.0).
|
if (logger.isTraceEnabled()) { |
|
logger.trace("Registering bean definition for @Bean method %s.%s()" |
|
.formatted(configClass.getMetadata().getClassName(), beanName)); |
|
} |