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