Class TraceFeignBuilderBeanPostProcessor
java.lang.Object
org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignBuilderBeanPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class TraceFeignBuilderBeanPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor that ensures that each Feign.Builder has a trace
representation of a Client.- Since:
- 3.0.2
- Author:
- Marcin Grzejszczak
-
Constructor Summary
ConstructorsConstructorDescriptionTraceFeignBuilderBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization
-
Constructor Details
-
TraceFeignBuilderBeanPostProcessor
public TraceFeignBuilderBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory)
-
-
Method Details
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-