Class ExecutorBeanPostProcessor

java.lang.Object
org.springframework.cloud.sleuth.autoconfig.instrument.async.ExecutorBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class ExecutorBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Bean post processor that wraps a call to an Executor either in a JDK or CGLIB proxy. Depending on whether the implementation has a final method or is final.
Since:
1.1.4
Author:
Marcin Grzejszczak, Jesus Alonso, Denys Ivano, Vladislav Fefelov
  • Constructor Details

    • ExecutorBeanPostProcessor

      public ExecutorBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory)
  • Method Details

    • 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