Class DynamicPooledDataSourceInitializingBean
java.lang.Object
org.smallmind.persistence.sql.pool.spring.DynamicPooledDataSourceInitializingBean
- All Implemented Interfaces:
DataSourceLocator,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class DynamicPooledDataSourceInitializingBean
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, DataSourceLocator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()getDataSource(String dataSourceKey) voidsetFactoryMap(Map<String, DataSourceFactory<?, ?>> factoryMap) void
-
Constructor Details
-
DynamicPooledDataSourceInitializingBean
public DynamicPooledDataSourceInitializingBean()
-
-
Method Details
-
setFactoryMap
-
setPrefix
-
getDataSource
- Specified by:
getDataSourcein interfaceDataSourceLocator
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
SQLExceptionComponentPoolException
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
ComponentPoolException
-