public class ConnectionServiceImpl extends java.lang.Object implements ConnectionService
| Modifier and Type | Field and Description |
|---|---|
protected ConnectionPluginManager |
pluginManager |
protected PluginService |
pluginService |
protected java.lang.String |
targetDriverProtocol |
| Constructor and Description |
|---|
ConnectionServiceImpl(StorageService storageService,
MonitorService monitorService,
TelemetryFactory telemetryFactory,
ConnectionProvider connectionProvider,
java.lang.String originalUrl,
java.lang.String targetDriverProtocol,
TargetDriverDialect driverDialect,
Dialect dbDialect,
java.util.Properties props) |
| Modifier and Type | Method and Description |
|---|---|
PluginService |
getPluginService() |
java.sql.Connection |
open(HostSpec hostSpec,
java.util.Properties props)
Creates an auxiliary connection.
|
protected final java.lang.String targetDriverProtocol
protected final ConnectionPluginManager pluginManager
protected final PluginService pluginService
public ConnectionServiceImpl(StorageService storageService, MonitorService monitorService, TelemetryFactory telemetryFactory, ConnectionProvider connectionProvider, java.lang.String originalUrl, java.lang.String targetDriverProtocol, TargetDriverDialect driverDialect, Dialect dbDialect, java.util.Properties props) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Connection open(HostSpec hostSpec, java.util.Properties props) throws java.sql.SQLException
ConnectionServiceopen in interface ConnectionServicehostSpec - the hostSpec containing the host information for the auxiliary connection.props - the properties for the auxiliary connection.java.sql.SQLException - if an error occurs while opening the connection.public PluginService getPluginService()
getPluginService in interface ConnectionService