Class GroupConfigurationRefreshThread

java.lang.Object
org.odpi.openmetadata.governanceservers.integrationdaemonservices.threads.GroupConfigurationRefreshThread
All Implemented Interfaces:
Runnable

public class GroupConfigurationRefreshThread extends Object implements Runnable
GroupConfigurationRefreshThread is the class responsible for establishing the listener for configuration updates. It runs as a separate thread until the listener is registered with the Governance Group OMAS. At that point, the listener is able to process incoming configuration updates and this thread can end.
  • Constructor Details

    • GroupConfigurationRefreshThread

      public GroupConfigurationRefreshThread(String groupName, IntegrationGroupHandler groupHandler, GovernanceServerEventClient eventClient, AuditLog auditLog, String localServerUserId, String localServerName, String accessServiceServerName, String accessServiceRootURL)
      The constructor takes details of the governance group handlers needed by the listener and the information needed to log errors if the metadata server is not available.
      Parameters:
      groupName - name of the group to manage the configuration for
      groupHandler - integration group handler
      eventClient - client for accessing the Governance Group OMAS OutTopic
      auditLog - logging destination
      localServerUserId - userId for configuration requests
      localServerName - this server's name
      accessServiceServerName - metadata server's name
      accessServiceRootURL - platform location for metadata server
  • Method Details

    • run

      public void run()
      Method that runs when the thread is started.
      Specified by:
      run in interface Runnable
    • stop

      public void stop()
      Strop the thread