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