Interface OMRSConnectorManager
- All Known Implementing Classes:
OMRSEnterpriseConnectorManager
public interface OMRSConnectorManager
OMRSConnectorManager provides the methods for connector consumers to register with the connector manager.
-
Method Summary
Modifier and TypeMethodDescriptionregisterConnectorConsumer
(OMRSConnectorConsumer connectorConsumer) Register the supplied connector consumer with the connector manager.void
unregisterConnectorConsumer
(String connectorConsumerId) Unregister a connector consumer from the connector manager so it is no longer informed of changes to the open metadata repository cohort.
-
Method Details
-
registerConnectorConsumer
Register the supplied connector consumer with the connector manager. During the registration request, the connector manager will pass the connector to the local repository and the connectors to all currently registered remote repositories. Once successfully registered the connector manager will call the connector consumer each time the repositories in the metadata repository cohort changes.- Parameters:
connectorConsumer
- OMRSConnectorConsumer interested in details of the connectors to all repositories registered in the metadata repository cohort.- Returns:
- String identifier for the connectorConsumer used for the call to unregister().
-
unregisterConnectorConsumer
Unregister a connector consumer from the connector manager so it is no longer informed of changes to the open metadata repository cohort.- Parameters:
connectorConsumerId
- String identifier of the connector consumer returned on the registerConnectorConsumer.
-