Interface RemoteLoggingConfigDAO
-
- All Known Implementing Classes:
RegistryBasedRemoteLoggingConfigDAO
public interface RemoteLoggingConfigDAOThis is the interface used for managing the remote server logging configurations in the storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteServerLoggerDatagetRemoteServerConfig(String logType)This method is used to get the remote server configuration from the storage.voidresetRemoteServerConfigInRegistry(String appenderName)This method is used to reset the remote server configurations to the defaults in the storage.voidsaveRemoteServerConfigInRegistry(RemoteServerLoggerData data, String appenderName)This method is used to add a remote server configuration from the storage.
-
-
-
Method Detail
-
saveRemoteServerConfigInRegistry
void saveRemoteServerConfigInRegistry(RemoteServerLoggerData data, String appenderName) throws org.apache.commons.configuration.ConfigurationException
This method is used to add a remote server configuration from the storage.- Parameters:
data- RemoteServerLoggerData object that contains the remote server configuration.appenderName- The appender name of the remote server configuration.- Throws:
org.apache.commons.configuration.ConfigurationException- If an error occurs while loading the remote server configuration.
-
getRemoteServerConfig
RemoteServerLoggerData getRemoteServerConfig(String logType) throws org.apache.commons.configuration.ConfigurationException
This method is used to get the remote server configuration from the storage.- Parameters:
logType- The log type of the remote server configuration.- Returns:
- RemoteServerLoggerData object that contains the remote server configuration.
- Throws:
org.apache.commons.configuration.ConfigurationException- If an error occurs while loading the remote server configuration.
-
resetRemoteServerConfigInRegistry
void resetRemoteServerConfigInRegistry(String appenderName) throws org.apache.commons.configuration.ConfigurationException
This method is used to reset the remote server configurations to the defaults in the storage.- Parameters:
appenderName- The appender name of the remote server configuration.- Throws:
org.apache.commons.configuration.ConfigurationException- If an error occurs while loading the remote server configuration.
-
-