Class ReferenceAnnotationWithAotBeanPostProcessor
java.lang.Object
org.apache.dubbo.config.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor
org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor
org.apache.dubbo.config.spring6.beans.factory.annotation.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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.dubbo.config.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor
AbstractAnnotationBeanPostProcessor.AnnotatedFieldElement -
Field Summary
Fields inherited from class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor
BEAN_NAME -
Constructor Summary
ConstructorsConstructorDescription@com.alibaba.dubbo.config.annotation.Referencehas been supported since 2.7.3 -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) org.springframework.beans.factory.aot.BeanRegistrationAotContributionprocessAheadOfTime(org.springframework.beans.factory.support.RegisteredBean registeredBean) Methods inherited from class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor
destroy, getInjectedFieldReferenceBeanMap, getInjectedMethodReferenceBeanMap, getReferenceBeans, postProcessMergedBeanDefinition, postProcessProperties, postProcessPropertyValues, registerReferenceBean, setApplicationContextMethods inherited from class org.apache.dubbo.config.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor
getAnnotationType, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, setBeanClassLoader, setBeanFactory, setEnvironmentMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.aot.BeanRegistrationAotProcessor
isBeanExcludedFromAotProcessingMethods inherited from interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
resetBeanDefinition
-
Constructor Details
-
ReferenceAnnotationWithAotBeanPostProcessor
public ReferenceAnnotationWithAotBeanPostProcessor()@com.alibaba.dubbo.config.annotation.Referencehas been supported since 2.7.3@DubboReferencehas 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:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor- Overrides:
postProcessBeanFactoryin classReferenceAnnotationBeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
processAheadOfTime
@Nullable public org.springframework.beans.factory.aot.BeanRegistrationAotContribution processAheadOfTime(org.springframework.beans.factory.support.RegisteredBean registeredBean) - Specified by:
processAheadOfTimein interfaceorg.springframework.beans.factory.aot.BeanRegistrationAotProcessor
-