Interface RemoteLoggingConfigDAO

  • All Known Implementing Classes:
    RegistryBasedRemoteLoggingConfigDAO

    public interface RemoteLoggingConfigDAO
    This is the interface used for managing the remote server logging configurations in the storage.
    • Method Detail

      • saveRemoteServerConfigInRegistry

        void saveRemoteServerConfigInRegistry​(RemoteServerLoggerData data,
                                              LoggingConstants.LogType type)
                                       throws RemoteLoggingServerException
        This method is used to add a remote server configuration from the storage.
        Parameters:
        data - RemoteServerLoggerData object that contains the remote server configuration.
        type - The log type of the remote server configuration.
        Throws:
        org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the remote server configuration.
        RemoteLoggingServerException
      • resetRemoteServerConfigInRegistry

        void resetRemoteServerConfigInRegistry​(LoggingConstants.LogType type)
                                        throws RemoteLoggingServerException
        This method is used to reset the remote server configurations to the defaults in the storage.
        Parameters:
        type - The log type of the remote server configuration.
        Throws:
        org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the remote server configuration.
        RemoteLoggingServerException