Class TraceRestTemplateBeanPostProcessor

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanPostProcessor

    public class TraceRestTemplateBeanPostProcessor
    extends Object
    implements org.springframework.beans.factory.config.BeanPostProcessor
    Wraps RestTemplate with trace interceptors.
    Since:
    3.0.0
    Author:
    Marcin Grzejszczak
    • Constructor Detail

      • TraceRestTemplateBeanPostProcessor

        public TraceRestTemplateBeanPostProcessor​(org.springframework.beans.factory.BeanFactory beanFactory)
    • Method Detail

      • postProcessBeforeInitialization

        public Object postProcessBeforeInitialization​(Object bean,
                                                      String beanName)
                                               throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeforeInitialization in interface org.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:
        postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Throws:
        org.springframework.beans.BeansException