All Known Implementing Classes:
ConformanceSuiteConnectorConsumer, EnterpriseOMRSRepositoryConnector, PerformanceSuiteConnectorConsumer

public interface OMRSConnectorConsumer
OMRSConnectorConsumer provides the interfaces for a connector consumer. This is a component that needs to maintain a current list of connectors to all the remote repositories in the open metadata repository cohorts that the local server is a member of.
  • Method Details

    • setLocalConnector

      void setLocalConnector(String metadataCollectionId, LocalOMRSRepositoryConnector localConnector)
      Pass the connector for the local repository to the connector consumer.
      Parameters:
      metadataCollectionId - Unique identifier for the metadata collection
      localConnector - OMRSRepositoryConnector object for the local repository.
    • addRemoteConnector

      void addRemoteConnector(String metadataCollectionId, OMRSRepositoryConnector remoteConnector)
      Pass the connector to one of the remote repositories in the metadata repository cohort.
      Parameters:
      metadataCollectionId - Unique identifier for the metadata collection
      remoteConnector - OMRSRepositoryConnector object providing access to the remote repository.
    • removeRemoteConnector

      void removeRemoteConnector(String metadataCollectionId)
      Pass the metadata collection id for a repository that has just left the metadata repository cohort.
      Parameters:
      metadataCollectionId - identifier of the metadata collection that is no longer available.
    • disconnectAllConnectors

      void disconnectAllConnectors()
      Call disconnect on all registered connectors and stop calling them. The OMRS is about to shutdown.