diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java b/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java index 7ae466b8af8..41d92a4cf93 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java @@ -82,7 +82,7 @@ import org.springframework.core.env.Environment; *
This mode is primarily intended for fully programmatic application context setups. * Registrars applied this way are invoked before any {@code @Configuration} class is * processed. They can therefore observe beans registered programmatically (e.g., via - * {@link org.springframework.context.support.GenericApplicationContext#registerBean(Class)}), + * {@link org.springframework.context.support.GenericApplicationContext#registerBean(String, Class, Object...)}), * but will not see any beans defined in {@code @Configuration} classes * also registered with the context. *