All Implemented Interfaces:
Direct Known Subclasses:
ParallelFederationControl, SequentialFederationControl

public abstract class FederationControlBase extends Object implements FederationControl
FederationControlBase provides the base class for control logic that manages a federated query across the repositories registered with the enterprise connector manager. An instance of the federation control class is created for each query. It is passed an executor object that is able to issue the appropriate query and handle the response. The federation control class calls the executor repeatedly, passing in the metadata collection until the executor tells it to stop, or it runs out of registered repositories. The caller (enterprise connector) then requests the response from the executor.
  • Field Details

  • Constructor Details

    • FederationControlBase

      public FederationControlBase(String userId, List<OMRSRepositoryConnector> cohortConnectors, AuditLog auditLog, String methodName)
      Constructor for a federated query
      userId - calling user
      cohortConnectors - list of connectors to call
      auditLog - logging destination
      methodName - calling method
  • Method Details