Working with connectors

An open connector is a Java client to an Asset that implements the Connector interface defined in the Open Connector Framework (OCF). It has 2 parts to its interface:

An application creates a connector using the Asset Consumer OMAS client. When an Asset is cataloged in the open metadata repository, there is a Connection object linked to it. This defines all of the properties required to create the connector.

See Creating a connector for step by step instructions on creating connectors. Asset Consumer OMAS looks up the Connection object and calls the Connector Broker to create the connector.

Once the connector is created, an application may use it to retrieve the content of the asset and the connected asset properties.

When the application has finished with the connector, it should call disconnect() to release any resources that the connector may be holding. —- License: CC BY 4.0, Copyright Contributors to the ODPi Egeria project.