@Configuration public class TomcatDataSourceConfiguration extends AbstractDataSourceConfiguration
DataSourceAutoConfiguration
Constructor and Description |
---|
TomcatDataSourceConfiguration() |
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.