mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
741107969a
Previously, if a ConfigurationBeanNameGenerator is used to parse configuration classes, it is not invoked for `Bean` methods that provide a specific bean name. This doesn't give a chance to an implementation to tune such a bean, if required. This commit updates the signature of ConfigurationBeanNameGenerator to provide the identified bean name on the `@Bean` declaration,if any, and to always invoke it. Closes gh-35505