|
|
@ -32,7 +32,6 @@ import java.util.Set; |
|
|
|
import feign.Request; |
|
|
|
import feign.Request; |
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.aop.scope.ScopedProxyUtils; |
|
|
|
import org.springframework.aop.scope.ScopedProxyUtils; |
|
|
|
import org.springframework.beans.factory.FactoryBean; |
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.AnnotatedBeanDefinition; |
|
|
|
import org.springframework.beans.factory.annotation.AnnotatedBeanDefinition; |
|
|
|
import org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition; |
|
|
|
import org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition; |
|
|
|
import org.springframework.beans.factory.config.BeanDefinition; |
|
|
|
import org.springframework.beans.factory.config.BeanDefinition; |
|
|
@ -291,7 +290,6 @@ class FeignClientsRegistrar implements ImportBeanDefinitionRegistrar, ResourceLo |
|
|
|
validate(attributes); |
|
|
|
validate(attributes); |
|
|
|
|
|
|
|
|
|
|
|
AbstractBeanDefinition beanDefinition = definition.getBeanDefinition(); |
|
|
|
AbstractBeanDefinition beanDefinition = definition.getBeanDefinition(); |
|
|
|
beanDefinition.setAttribute(FactoryBean.OBJECT_TYPE_ATTRIBUTE, className); |
|
|
|
|
|
|
|
beanDefinition.setAttribute("feignClientsRegistrarFactoryBean", factoryBean); |
|
|
|
beanDefinition.setAttribute("feignClientsRegistrarFactoryBean", factoryBean); |
|
|
|
|
|
|
|
|
|
|
|
// has a default, won't be null
|
|
|
|
// has a default, won't be null
|
|
|
|