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 41d92a4cf93..db73cd8b85f 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,9 +82,9 @@ 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(String, Class, Object...)}), - * but will not see any beans defined in {@code @Configuration} classes - * also registered with the context. + * one of the {@code GenericApplicationContext#registerBean} methods), but will + * not see any beans defined in {@code @Configuration} classes also + * registered with the context. * *
A {@code BeanRegistrar} implementing {@link org.springframework.context.annotation.ImportAware} * can optionally introspect import metadata when used in an import scenario; otherwise