@ -18,12 +18,13 @@ package org.springframework.beans.factory.generator;
import org.springframework.beans.factory.config.BeanPostProcessor ;
import org.springframework.beans.factory.config.BeanPostProcessor ;
import org.springframework.beans.factory.support.RootBeanDefinition ;
import org.springframework.beans.factory.support.RootBeanDefinition ;
import org.springframework.core.PriorityOrdered ;
import org.springframework.lang.Nullable ;
import org.springframework.lang.Nullable ;
/ * *
/ * *
* Specialization of { @link BeanPostProcessor } that contributes to bean
* Specialization of a priority ordered { @link BeanPostProcessor } that
* instantiation ahead of time , providing generated code that is equivalent to
* contributes to bean instantiation ahead of time , providing generated code
* its runtime behavior .
* that is equivalent to its runtime behavior .
*
*
* < p > Contrary to other bean post processors , implementations of this interface
* < p > Contrary to other bean post processors , implementations of this interface
* are instantiated at build - time and should not rely on other beans in the
* are instantiated at build - time and should not rely on other beans in the
@ -32,8 +33,7 @@ import org.springframework.lang.Nullable;
* @author Stephane Nicoll
* @author Stephane Nicoll
* @since 6 . 0
* @since 6 . 0
* /
* /
@FunctionalInterface
public interface AotContributingBeanPostProcessor extends BeanPostProcessor , PriorityOrdered {
public interface AotContributingBeanPostProcessor extends BeanPostProcessor {
/ * *
/ * *
* Contribute a { @link BeanInstantiationContribution } for the given bean definition ,
* Contribute a { @link BeanInstantiationContribution } for the given bean definition ,