Class TraceWebClientBeanPostProcessor

java.lang.Object
org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class TraceWebClientBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor to wrap a WebClient instance into its trace representation.
Since:
2.0.0
Author:
Marcin Grzejszczak
  • Constructor Details

    • TraceWebClientBeanPostProcessor

      public TraceWebClientBeanPostProcessor(org.springframework.context.ConfigurableApplicationContext springContext)
  • Method Details

    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName)
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName)
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor