@Configuration public class EmbeddedDataSourceConfiguration extends Object implements org.springframework.beans.factory.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 org.springframework.beans.factory.BeanClassLoaderAware
@Bean public DataSource dataSource()
@PreDestroy public void close()
Copyright © 2014. All rights reserved.