@Configuration public class CommonsDataSourceConfiguration extends AbstractDataSourceConfiguration
DataSourceAutoConfiguration
Constructor and Description |
---|
CommonsDataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
DataSource |
dataSource() |
getDriverClassName, getMaxActive, getMaxIdle, getMinIdle, getPassword, getUrl, getUsername, getValidationQuery, isTestOnBorrow, isTestOnReturn, setBeanClassLoader, setDriverClassName, setMaxActive, setMaxIdle, setMinIdle, setPassword, setTestOnBorrow, setTestOnReturn, setUrl, setUsername, setValidationQuery
@Bean public DataSource dataSource()
@PreDestroy public void close()
Copyright © 2013. All rights reserved.