@Configuration public class EmbeddedDataSourceConfiguration extends Object implements BeanClassLoaderAware
DataSourceAutoConfiguration
Constructor and Description |
---|
EmbeddedDataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
DataSource |
dataSource() |
void |
setBeanClassLoader(ClassLoader classLoader) |
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface BeanClassLoaderAware
@Bean public DataSource dataSource()
@PreDestroy public void close()
Copyright © 2014. All rights reserved.