Class DataEngineProxyOperationalServices

java.lang.Object
org.odpi.openmetadata.governanceservers.dataengineproxy.admin.DataEngineProxyOperationalServices

public class DataEngineProxyOperationalServices extends Object
DataEngineProxyOperationalServices is responsible for controlling the startup and shutdown of of the Data Engine Proxies.
  • Constructor Details

    • DataEngineProxyOperationalServices

      public DataEngineProxyOperationalServices(String localServerName, String localServerId, String localServerUserId, String localServerPassword)
      Constructor used at server startup.
      Parameters:
      localServerName - name of the local server
      localServerId - ID of the local server
      localServerUserId - user id for this server to use if processing inbound messages
      localServerPassword - password for this server to use if processing inbound messages
  • Method Details

    • initialize

      public void initialize(DataEngineProxyConfig dataEngineProxyConfig, OMRSAuditLog auditLog) throws OMAGConfigurationErrorException
      Initialize the data engine proxy server
      Parameters:
      dataEngineProxyConfig - Data Engine proxy server configuration.
      auditLog - Audit Log instance.
      Throws:
      OMAGConfigurationErrorException - there is no data engine (or OMAS) defined for this server, or the requested data engine (or OMAS) is not recognized or is not configured properly.
    • disconnect

      public boolean disconnect()
      Shutdown the Data Engine Proxy Services.
      Returns:
      boolean indicated whether the disconnect was successful.