Interface OMRSConnectorConsumer
- 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 Summary
Modifier and TypeMethodDescriptionvoidaddRemoteConnector(String metadataCollectionId, OMRSRepositoryConnector remoteConnector) Pass the connector to one of the remote repositories in the metadata repository cohort.voidCall disconnect on all registered connectors and stop calling them.voidremoveRemoteConnector(String metadataCollectionId) Pass the metadata collection id for a repository that has just left the metadata repository cohort.voidsetLocalConnector(String metadataCollectionId, LocalOMRSRepositoryConnector localConnector) Pass the connector for the local repository to the connector consumer.
-
Method Details
-
setLocalConnector
Pass the connector for the local repository to the connector consumer.- Parameters:
metadataCollectionId- Unique identifier for the metadata collectionlocalConnector- OMRSRepositoryConnector object for the local repository.
-
addRemoteConnector
Pass the connector to one of the remote repositories in the metadata repository cohort.- Parameters:
metadataCollectionId- Unique identifier for the metadata collectionremoteConnector- OMRSRepositoryConnector object providing access to the remote repository.
-
removeRemoteConnector
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.
-