Package de.hybris.platform.core
Interface DataSourceFactory
- All Known Implementing Classes:
DataSourceImplFactory,JUnitDataSourceFactory,SlaveTenantDataSourceFactory
public interface DataSourceFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateConnectionPool(HybrisDataSource dataSource, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) createJNDIDataSource(String id, Tenant tenant, String jndiName, boolean readOnly) wrapConnection(HybrisDataSource wrappedDataSource, Connection rawConnection) wrapPreparedStatement(Connection wrappedConnection, PreparedStatement rawStatement, String query) wrapResultSet(Statement wrappedStatement, ResultSet rawResultSet) wrapStatement(Connection wrappedConnection, Statement rawStatement)
-
Method Details
-
createJNDIDataSource
-
createDataSource
-
createConnectionPool
JDBCConnectionPool createConnectionPool(HybrisDataSource dataSource, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) -
wrapConnection
-
wrapStatement
-
wrapPreparedStatement
PreparedStatement wrapPreparedStatement(Connection wrappedConnection, PreparedStatement rawStatement, String query) -
wrapResultSet
-