public class TraceDataSourceDecoratorBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered, org.springframework.context.ApplicationContextAware
BeanPostProcessor that wraps all data source beans in DataSource
proxies specified in property 'spring.datasource.type'.| Constructor and Description |
|---|
TraceDataSourceDecoratorBeanPostProcessor(Collection<String> excludedBeans) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public TraceDataSourceDecoratorBeanPostProcessor(Collection<String> excludedBeans)
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.