Package net.officefloor.jdbc.datasource
Interface ConnectionPoolDataSourceFactory
-
- All Known Subinterfaces:
H2DataSourceFactory
,PostgreSqlDataSourceFactory
- All Known Implementing Classes:
DefaultDataSourceFactory
,H2DataSourceManagedObjectSource
,H2ReadOnlyConnectionManagedObjectSource
,PostgreSqlDataSourceManagedObjectSource
,PostgreSqlReadOnlyConnectionManagedObjectSource
public interface ConnectionPoolDataSourceFactory
Factory for the creation of aConnectionPoolDataSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.sql.ConnectionPoolDataSource
createConnectionPoolDataSource(SourceContext context)
Creates theConnectionPoolDataSource
.
-
-
-
Method Detail
-
createConnectionPoolDataSource
javax.sql.ConnectionPoolDataSource createConnectionPoolDataSource(SourceContext context) throws java.lang.Exception
Creates theConnectionPoolDataSource
.- Parameters:
context
-SourceContext
to configure theConnectionPoolDataSource
.- Returns:
ConnectionPoolDataSource
.- Throws:
java.lang.Exception
- If fails to create theConnectionPoolDataSource
.
-
-