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