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 Summary
Modifier and TypeMethodDescriptionvoid
Remove the server configuration.Retrieve the configuration saved from a previous run of the server.void
saveServerConfig
(OMAGServerConfig configuration) Save the server configuration.void
setServerName
(String serverName) Set up the name of the server for this configuration document.
-
Method Details
-
setServerName
Set up the name of the server for this configuration document.- Parameters:
serverName
- name of the server
-
saveServerConfig
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.
-