Class DataSourceAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
@AutoConfiguration(before=SqlInitializationAutoConfiguration.class)
@ConditionalOnClass({javax.sql.DataSource.class,org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.class})
@ConditionalOnMissingBean(type="io.r2dbc.spi.ConnectionFactory")
@EnableConfigurationProperties(DataSourceProperties.class)
@Import(DataSourcePoolMetadataProvidersConfiguration.class)
public class DataSourceAutoConfiguration
extends Object
- Since:
- 1.0.0
- Author:
- Dave Syer, Phillip Webb, Stephane Nicoll, Kazuki Shimizu
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DataSourceAutoConfiguration
public DataSourceAutoConfiguration()
-