Browse Source

Javadoc update: ConfigurationClassPostProcessor is priority-ordered

Issue: SPR-17062

(cherry picked from commit 0b60447)
pull/1916/head
Juergen Hoeller 8 years ago
parent
commit
c66f9d8880
  1. 10
      spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassPostProcessor.java

10
spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassPostProcessor.java

@ -64,7 +64,7 @@ import org.springframework.lang.Nullable;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.ClassUtils; import org.springframework.util.ClassUtils;
import static org.springframework.context.annotation.AnnotationConfigUtils.*; import static org.springframework.context.annotation.AnnotationConfigUtils.CONFIGURATION_BEAN_NAME_GENERATOR;
/** /**
* {@link BeanFactoryPostProcessor} used for bootstrapping processing of * {@link BeanFactoryPostProcessor} used for bootstrapping processing of
@ -74,10 +74,10 @@ import static org.springframework.context.annotation.AnnotationConfigUtils.*;
* {@code <context:component-scan/>}. Otherwise, may be declared manually as * {@code <context:component-scan/>}. Otherwise, may be declared manually as
* with any other BeanFactoryPostProcessor. * with any other BeanFactoryPostProcessor.
* *
* <p>This post processor is {@link Ordered#HIGHEST_PRECEDENCE} as it is important * <p>This post processor is priority-ordered as it is important that any
* that any {@link Bean} methods declared in Configuration classes have their * {@link Bean} methods declared in {@code @Configuration} classes have
* respective bean definitions registered before any other BeanFactoryPostProcessor * their corresponding bean definitions registered before any other
* executes. * {@link BeanFactoryPostProcessor} executes.
* *
* @author Chris Beams * @author Chris Beams
* @author Juergen Hoeller * @author Juergen Hoeller

Loading…
Cancel
Save