public abstract class ConnectorProvider extends Object
| Constructor and Description |
|---|
ConnectorProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract Connector |
getConnector(Connection connection)
Creates a new instance of a connector using the information from the connection and the properties
from the subclass(es).
|
abstract Connector |
getConnector(ConnectionProperties connection)
Creates a new instance of a connector using the information from the connection and the properties
from the subclass(es).
|
abstract ConnectorType |
getConnectorType()
Returns the properties about the type of connector that this ConnectorTypeManager supports.
|
abstract ConnectorTypeProperties |
getConnectorTypeProperties()
Returns the properties about the type of connector that this ConnectorTypeManager supports.
|
public abstract ConnectorTypeProperties getConnectorTypeProperties()
public abstract ConnectorType getConnectorType()
public abstract Connector getConnector(Connection connection) throws ConnectionCheckedException, ConnectorCheckedException
connection - connection that should have all of the properties needed by the Connector Provider
to create a connector instance.ConnectionCheckedException - an error with the connection.ConnectorCheckedException - an error initializing the connector.public abstract Connector getConnector(ConnectionProperties connection) throws ConnectionCheckedException, ConnectorCheckedException
connection - connection that should have all of the properties needed by the Connector Provider
to create a connector instance.ConnectionCheckedException - if there are missing or invalid properties in the connectionConnectorCheckedException - if there are issues instantiating or initializing the connectorCopyright © 2018–2020 ODPi. All rights reserved.