@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=DataSourceProperties.class) public class EmbeddedDataSourceConfiguration extends Object implements org.springframework.beans.factory.BeanClassLoaderAware
DataSourceAutoConfiguration
Constructor and Description |
---|
EmbeddedDataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.jdbc.datasource.embedded.EmbeddedDatabase |
dataSource(DataSourceProperties properties) |
void |
setBeanClassLoader(ClassLoader classLoader) |
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
@Bean(destroyMethod="shutdown") public org.springframework.jdbc.datasource.embedded.EmbeddedDatabase dataSource(DataSourceProperties properties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.