Polish javadoc

This commit is contained in:
Stephane Nicoll 2022-10-03 10:05:27 +02:00
parent 3d795ab986
commit 0b5c3ec267
2 changed files with 7 additions and 8 deletions

View File

@ -30,9 +30,9 @@ import org.springframework.lang.Nullable;
*
* <p>Note: Using this interface on a registered bean will cause the bean
* <em>and</em> all of its dependencies to be initialized during AOT processing.
* We generally recommend that this interface is only used with infrastructure beans
* such as {@link BeanFactoryPostProcessor} which have limited dependencies and
* are already initialized early in the bean factory lifecycle.
* We generally recommend that this interface is only used with infrastructure
* beans such as {@link BeanFactoryPostProcessor} which have limited dependencies
* and are already initialized early in the bean factory lifecycle.
*
* @author Phillip Webb
* @author Stephane Nicoll

View File

@ -16,7 +16,7 @@
package org.springframework.beans.factory.aot;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.beans.factory.support.RegisteredBean;
import org.springframework.lang.Nullable;
@ -27,12 +27,11 @@ import org.springframework.lang.Nullable;
* <p>{@link BeanRegistrationAotProcessor} implementations may be registered in
* a {@value AotServices#FACTORIES_RESOURCE_LOCATION} resource or as a bean.
*
* <p>
* Note: Using this interface on a registered bean will cause the bean
* <p>Note: Using this interface on a registered bean will cause the bean
* <em>and</em> all of its dependencies to be initialized during AOT processing.
* We generally recommend that interface is only used with infrastructure beans
* such as {@link BeanFactoryPostProcessor} which have limited dependencies and
* are already initialized early in the bean factory lifecycle.
* such as {@link BeanPostProcessor} which have limited dependencies and are
* already initialized early in the bean factory lifecycle.
*
* @author Phillip Webb
* @since 6.0