Class ServiceAnnotationWithAotPostProcessor

java.lang.Object
org.apache.dubbo.config.spring.beans.factory.annotation.ServiceAnnotationPostProcessor
org.apache.dubbo.config.spring6.beans.factory.annotation.ServiceAnnotationWithAotPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.aot.BeanRegistrationAotProcessor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware, org.springframework.context.ResourceLoaderAware

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

    • ServiceAnnotationWithAotPostProcessor

      public ServiceAnnotationWithAotPostProcessor(String... packagesToScan)
    • ServiceAnnotationWithAotPostProcessor

      public ServiceAnnotationWithAotPostProcessor(Collection<?> packagesToScan)
  • Method Details

    • processAheadOfTime

      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