SI
- the RelationalServiceInfo
for the backing database servicepublic abstract class DataSourceCreator<SI extends RelationalServiceInfo> extends AbstractServiceConnectorCreator<DataSource,SI>
Constructor and Description |
---|
DataSourceCreator(String driverSystemPropKey,
String[] driverClasses,
String validationQuery) |
Modifier and Type | Method and Description |
---|---|
DataSource |
create(SI serviceInfo,
ServiceConnectorConfig serviceConnectorConfig)
Create service for the given service info and configured with the given
configuration
|
String |
getDriverClassName(SI serviceInfo) |
getServiceConnectorType, getServiceInfoType
protected static Logger logger
public DataSource create(SI serviceInfo, ServiceConnectorConfig serviceConnectorConfig)
ServiceConnectorCreator
serviceInfo
- the ServiceInfo
object containing the information necessary to connect to the serviceserviceConnectorConfig
- configuration information to be applied to the connection