Class ImportAwareAotBeanPostProcessor

java.lang.Object
org.springframework.context.annotation.ImportAwareAotBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

public final class ImportAwareAotBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.PriorityOrdered
A BeanPostProcessor that honours ImportAware callback using a mapping computed at build time.
Since:
6.0
Author:
Stephane Nicoll
  • Constructor Details

    • ImportAwareAotBeanPostProcessor

      public ImportAwareAotBeanPostProcessor(Map<String,String> importsMapping)
  • Method Details

    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName)
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered