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 Summary
ConstructorsConstructorDescriptionExecutorBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptionpostProcessAfterInitialization(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName)
-
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:
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
-