Interface OMAGServerConfigStore

All Known Subinterfaces:
OMAGServerConfigStoreRetrieveAll
All Known Implementing Classes:
EncryptedFileBasedServerConfigStoreConnector, FileBasedServerConfigStoreConnector, OMAGServerConfigStoreConnectorBase

public interface OMAGServerConfigStore
OMAGServerConfigStore provides the interface to the configuration for an OMAG Server. This is accessed through a connector.
  • Method Details

    • setServerName

      void setServerName(String serverName)
      Set up the name of the server for this configuration document.
      Parameters:
      serverName - name of the server
    • saveServerConfig

      void saveServerConfig(OMAGServerConfig configuration)
      Save the server configuration.
      Parameters:
      configuration - configuration properties to save
    • retrieveServerConfig

      OMAGServerConfig retrieveServerConfig()
      Retrieve the configuration saved from a previous run of the server.
      Returns:
      server configuration
    • removeServerConfig

      void removeServerConfig()
      Remove the server configuration.