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 anExecutoreither 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 Summary
Constructors Constructor Description ExecutorBeanPostProcessor(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
-
-