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