public class DataSourceDecoratorPostProcessor extends Object implements BeanPostProcessor, org.springframework.core.Ordered
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
Object |
postProcessAfterInitialization(Object bean,
String beanName)
new org.springframework.boot.bind.RelaxedDataBinder(dataSource).bind(new org.springframework.beans.MutablePropertyValues(this.properties.getProperties()));
new org.springframework.boot.context.properties.bind.Binder(new org.springframework.boot.context.properties.source.MapConfigurationPropertySource(this.properties.getProperties())).bind(org.springframework.boot.context.properties.source.ConfigurationPropertyName.EMPTY, org.springframework.boot.context.properties.bind.Bindable.ofInstance(dataSource));
|
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
new org.springframework.boot.bind.RelaxedDataBinder(dataSource).bind(new org.springframework.beans.MutablePropertyValues(this.properties.getProperties()));
new org.springframework.boot.context.properties.bind.Binder(new org.springframework.boot.context.properties.source.MapConfigurationPropertySource(this.properties.getProperties())).bind(org.springframework.boot.context.properties.source.ConfigurationPropertyName.EMPTY, org.springframework.boot.context.properties.bind.Bindable.ofInstance(dataSource));
postProcessAfterInitialization in interface BeanPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2017 Pivotal Software, Inc.. All rights reserved.