Class ReferenceAnnotationWithAotBeanPostProcessor

All Implemented Interfaces:
org.springframework.beans.factory.aot.BeanRegistrationAotProcessor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware

public class ReferenceAnnotationWithAotBeanPostProcessor extends ReferenceAnnotationBeanPostProcessor implements org.springframework.beans.factory.aot.BeanRegistrationAotProcessor
The purpose of implementing BeanRegistrationAotProcessor is to supplement for ReferenceAnnotationBeanPostProcessor ability of AOT.
Since:
3.3
  • Constructor Details

    • ReferenceAnnotationWithAotBeanPostProcessor

      public ReferenceAnnotationWithAotBeanPostProcessor()
      @com.alibaba.dubbo.config.annotation.Reference has been supported since 2.7.3

      @DubboReference has been supported since 2.7.7

  • Method Details

    • postProcessBeanFactory

      public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
      Overrides:
      postProcessBeanFactory in class ReferenceAnnotationBeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
    • processAheadOfTime

      @Nullable public org.springframework.beans.factory.aot.BeanRegistrationAotContribution processAheadOfTime(org.springframework.beans.factory.support.RegisteredBean registeredBean)
      Specified by:
      processAheadOfTime in interface org.springframework.beans.factory.aot.BeanRegistrationAotProcessor