类 AbstractInjectionPointDependencyResolver

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected org.springframework.beans.factory.support.AutowireCandidateResolver getAutowireCandidateResolver​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)  
      void resolve​(java.lang.reflect.Constructor constructor, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
      Resolve the bean names as the dependencies from the specified constructor
      void resolve​(java.lang.reflect.Field field, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
      Resolve the bean names as the dependencies from the specified field
      void resolve​(java.lang.reflect.Method method, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
      Resolve the bean names as the dependencies from the specified method
      void resolve​(java.lang.reflect.Parameter parameter, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
      Resolve the bean names as the dependencies from the specified parameter
      protected java.lang.String resolveDependentBeanNameByName​(java.lang.reflect.Field field, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)  
      protected java.lang.String resolveDependentBeanNameByName​(java.lang.reflect.Parameter parameter, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)  
      protected java.lang.String resolveDependentBeanNameByName​(org.springframework.beans.factory.config.DependencyDescriptor dependencyDescriptor, org.springframework.beans.factory.support.AutowireCandidateResolver autowireCandidateResolver)  
      protected void resolveDependentBeanNamesByType​(java.util.function.Supplier<java.lang.reflect.Type> typeSupplier, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)  
      protected java.lang.Class<?> resolveDependentType​(java.lang.reflect.Type type)  
      void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • AbstractInjectionPointDependencyResolver

        public AbstractInjectionPointDependencyResolver()
    • 方法详细资料

      • resolve

        public void resolve​(java.lang.reflect.Field field,
                            org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
                            java.util.Set<java.lang.String> dependentBeanNames)
        从接口复制的说明: InjectionPointDependencyResolver
        Resolve the bean names as the dependencies from the specified field
        指定者:
        resolve 在接口中 InjectionPointDependencyResolver
        参数:
        field - the field may be an injection point
        beanFactory - ConfigurableListableBeanFactory
        dependentBeanNames - the dependent bean names to be manipulated
      • resolve

        public void resolve​(java.lang.reflect.Method method,
                            org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
                            java.util.Set<java.lang.String> dependentBeanNames)
        从接口复制的说明: InjectionPointDependencyResolver
        Resolve the bean names as the dependencies from the specified method
        指定者:
        resolve 在接口中 InjectionPointDependencyResolver
        参数:
        method - the method may be an injection point
        beanFactory - ConfigurableListableBeanFactory
        dependentBeanNames - the dependent bean names to be manipulated
      • resolve

        public void resolve​(java.lang.reflect.Constructor constructor,
                            org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
                            java.util.Set<java.lang.String> dependentBeanNames)
        从接口复制的说明: InjectionPointDependencyResolver
        Resolve the bean names as the dependencies from the specified constructor
        指定者:
        resolve 在接口中 InjectionPointDependencyResolver
        参数:
        constructor - the constructor may be an injection point
        beanFactory - ConfigurableListableBeanFactory
        dependentBeanNames - the dependent bean names to be manipulated
      • resolve

        public void resolve​(java.lang.reflect.Parameter parameter,
                            org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
                            java.util.Set<java.lang.String> dependentBeanNames)
        从接口复制的说明: InjectionPointDependencyResolver
        Resolve the bean names as the dependencies from the specified parameter
        指定者:
        resolve 在接口中 InjectionPointDependencyResolver
        参数:
        parameter - the specified parameter of a method or constructor was annotated by the annotation
        beanFactory - ConfigurableListableBeanFactory
        dependentBeanNames - the dependent bean names to be manipulated
      • resolveDependentBeanNameByName

        protected java.lang.String resolveDependentBeanNameByName​(java.lang.reflect.Field field,
                                                                  org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      • resolveDependentBeanNameByName

        protected java.lang.String resolveDependentBeanNameByName​(java.lang.reflect.Parameter parameter,
                                                                  org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      • resolveDependentBeanNameByName

        protected java.lang.String resolveDependentBeanNameByName​(org.springframework.beans.factory.config.DependencyDescriptor dependencyDescriptor,
                                                                  org.springframework.beans.factory.support.AutowireCandidateResolver autowireCandidateResolver)
      • resolveDependentBeanNamesByType

        protected void resolveDependentBeanNamesByType​(java.util.function.Supplier<java.lang.reflect.Type> typeSupplier,
                                                       org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
                                                       java.util.Set<java.lang.String> dependentBeanNames)
      • getAutowireCandidateResolver

        protected org.springframework.beans.factory.support.AutowireCandidateResolver getAutowireCandidateResolver​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      • resolveDependentType

        protected java.lang.Class<?> resolveDependentType​(java.lang.reflect.Type type)
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
        指定者:
        setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAware
        抛出:
        org.springframework.beans.BeansException