public class ConnectorBroker extends Object
| Constructor and Description |
|---|
ConnectorBroker()
Typical constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Provide a common implementation of equals for all OCF Connector Broker objects.
|
Connector |
getConnector(Connection connection)
Creates a new instance of a connector using the name of the connector provider in the supplied connection.
|
Connector |
getConnector(ConnectionProperties connection)
Creates a new instance of a connector using the name of the connector provider in the supplied connection.
|
int |
hashCode()
Provide an implementation of hashCode for all OCF Connector Broker objects.
|
String |
toString()
Standard toString method.
|
void |
validateConnection(Connection connection)
Validate that the connection has sufficient properties to attempt to create a connector.
|
void |
validateConnection(ConnectionProperties connection)
Validate that the connection has sufficient properties to attempt to create a connector.
|
public void validateConnection(Connection connection) throws ConnectionCheckedException
connection - connection propertiesConnectionCheckedException - an error with the connection.public void validateConnection(ConnectionProperties connection) throws ConnectionCheckedException
connection - connection propertiesConnectionCheckedException - an error with the connection.public Connector getConnector(Connection connection) throws ConnectionCheckedException, ConnectorCheckedException
connection - properties for the connector and connector provider.ConnectionCheckedException - an error with the connection.ConnectorCheckedException - an error initializing the connector.public Connector getConnector(ConnectionProperties connection) throws ConnectionCheckedException, ConnectorCheckedException
connection - properties for the connector and connector provider.ConnectionCheckedException - an error with the connection.ConnectorCheckedException - an error initializing the connector.public int hashCode()
public boolean equals(Object object)
Copyright © 2018–2020 ODPi. All rights reserved.