public class DynamicDriverManagerPooledDataSourceInitializingBean extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, DataSourceFactory
| Constructor and Description |
|---|
DynamicDriverManagerPooledDataSourceInitializingBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
DataSource |
getDataSource(String dataSourceKey) |
void |
setPoolNames(String[] poolNames) |
public DynamicDriverManagerPooledDataSourceInitializingBean()
public void setPoolNames(String[] poolNames)
public DataSource getDataSource(String dataSourceKey)
getDataSource in interface DataSourceFactorypublic void afterPropertiesSet()
throws SQLException,
ComponentPoolException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanSQLExceptionComponentPoolExceptionpublic void destroy()
throws ComponentPoolException
destroy in interface org.springframework.beans.factory.DisposableBeanComponentPoolExceptionCopyright © 2013. All Rights Reserved.