@Configuration @EnableConfigurationProperties(value=DataSourceDecoratorProperties.class) @ConditionalOnProperty(prefix="spring.datasource.decorator", name="enabled", matchIfMissing=true) @ConditionalOnBean(value=javax.sql.DataSource.class) public class DataSourceDecoratorAutoConfiguration extends Object
DataSourceAutoConfiguration,
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration#FlywayInitializerJpaDependencyConfiguration| Modifier and Type | Class and Description |
|---|---|
protected static class |
DataSourceDecoratorAutoConfiguration.P6SpyDataSourceDecoratorConfiguration |
protected static class |
DataSourceDecoratorAutoConfiguration.ProxyDataSourceDecoratorConfiguration |
| Constructor and Description |
|---|
DataSourceDecoratorAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DataSourceDecoratorPostProcessor |
dataSourceDecoratorBeanPostProcessor(DataSourceDecoratorProperties properties,
org.springframework.context.ApplicationContext applicationContext) |
org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvider |
decoratorDataSourcePoolMetadataProvider() |
DataSourceDecorator |
lazyConnectionDataSourceProxyDecorator() |
public DataSourceDecoratorAutoConfiguration()
@Bean public DataSourceDecoratorPostProcessor dataSourceDecoratorBeanPostProcessor(DataSourceDecoratorProperties properties, org.springframework.context.ApplicationContext applicationContext)
@Bean public org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvider decoratorDataSourcePoolMetadataProvider()
@Bean public DataSourceDecorator lazyConnectionDataSourceProxyDecorator()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.