Class FeignContextBeanPostProcessor
- java.lang.Object
-
- org.springframework.cloud.sleuth.instrument.web.client.feign.FeignContextBeanPostProcessor
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class FeignContextBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Post processor that wraps Feign Context in its tracing representations.- Since:
- 1.0.2
- Author:
- Marcin Grzejszczak
-
-
Constructor Summary
Constructors Constructor Description FeignContextBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectpostProcessAfterInitialization(Object bean, String beanName)ObjectpostProcessBeforeInitialization(Object bean, String beanName)
-
-
-
Method Detail
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
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
-
-