类 ReferenceAnnotationBeanPostProcessor

  • 所有已实现的接口:
    EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, org.springframework.context.EnvironmentAware, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

    public class ReferenceAnnotationBeanPostProcessor
    extends AnnotationInjectedBeanPostProcessor<Reference>
    implements org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener
    BeanPostProcessor implementation that Consumer service Reference annotated fields
    从以下版本开始:
    2.5.7
    • 构造器详细资料

      • ReferenceAnnotationBeanPostProcessor

        public ReferenceAnnotationBeanPostProcessor()
    • 方法详细资料

      • getInjectedFieldReferenceBeanMap

        public Map<org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement,ReferenceBean<?>> getInjectedFieldReferenceBeanMap()
        Get ReferenceBean Map in injected field.
        返回:
        non-null Map
        从以下版本开始:
        2.5.11
      • getInjectedMethodReferenceBeanMap

        public Map<org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement,ReferenceBean<?>> getInjectedMethodReferenceBeanMap()
        Get ReferenceBean Map in injected method.
        返回:
        non-null Map
        从以下版本开始:
        2.5.11
      • setApplicationContext

        public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException
      • onApplicationEvent

        public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener