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