mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix typo and improve Javadoc for ConfigurationBeanNameGenerator
This commit is contained in:
+3
-2
@@ -37,9 +37,10 @@ public interface ConfigurationBeanNameGenerator extends BeanNameGenerator {
|
||||
|
||||
/**
|
||||
* Derive a default bean name for the given {@link Bean @Bean} method,
|
||||
* providing the {@link Bean#name() name} attribute specified.
|
||||
* taking into account the specified {@link Bean#name() name} attribute.
|
||||
* @param beanMethod the method metadata for the {@link Bean @Bean} method
|
||||
* @param beanName the {@link Bean#name() name} attribute or {@code null} if non is specified
|
||||
* @param beanName the {@link Bean#name() name} attribute or {@code null} if
|
||||
* none is specified
|
||||
* @return the default bean name to use
|
||||
*/
|
||||
String deriveBeanName(MethodMetadata beanMethod, @Nullable String beanName);
|
||||
|
||||
Reference in New Issue
Block a user