SC - service connector typeSI - service info typepublic interface ServiceConnectorCreator<SC,SI extends ServiceInfo>
| Modifier and Type | Method and Description |
|---|---|
SC |
create(SI serviceInfo,
ServiceConnectorConfig serviceConnectorConfig)
Create service for the given service info and configured with the given
configuration
|
Class<SC> |
getServiceConnectorType()
Get the type of connector created (such as
DataSource) |
Class<?> |
getServiceInfoType()
Get the service info type this creator can work with (such as
MysqlServiceInfo) |
SC create(SI serviceInfo, ServiceConnectorConfig serviceConnectorConfig)
serviceInfo - the ServiceInfo object containing the information necessary to connect to the serviceserviceConnectorConfig - configuration information to be applied to the connectionClass<SC> getServiceConnectorType()
DataSource)Class<?> getServiceInfoType()
MysqlServiceInfo)