public class RegistryBasedRemoteLoggingConfigDAO extends Object implements RemoteLoggingConfigDAO
| Constructor and Description |
|---|
RegistryBasedRemoteLoggingConfigDAO() |
| Modifier and Type | Method and Description |
|---|---|
Optional<RemoteServerLoggerData> |
getRemoteServerConfig(LoggingConstants.LogType type)
This method is used to get the remote server configuration from the storage.
|
void |
resetRemoteServerConfig(LoggingConstants.LogType type)
This method is used to reset the remote server configurations to the defaults in the storage.
|
void |
saveRemoteServerConfig(RemoteServerLoggerData data,
LoggingConstants.LogType type)
This method is used to add a remote server configuration from the storage.
|
public void saveRemoteServerConfig(RemoteServerLoggerData data, LoggingConstants.LogType type) throws RemoteLoggingServerException
RemoteLoggingConfigDAOsaveRemoteServerConfig in interface RemoteLoggingConfigDAOdata - RemoteServerLoggerData object that contains the remote server configuration.type - The log type of the remote server configuration.RemoteLoggingServerExceptionpublic Optional<RemoteServerLoggerData> getRemoteServerConfig(LoggingConstants.LogType type) throws RemoteLoggingServerException
RemoteLoggingConfigDAOgetRemoteServerConfig in interface RemoteLoggingConfigDAOtype - The log type of the remote server configuration.RemoteLoggingServerExceptionpublic void resetRemoteServerConfig(LoggingConstants.LogType type) throws RemoteLoggingServerException
RemoteLoggingConfigDAOresetRemoteServerConfig in interface RemoteLoggingConfigDAOtype - The log type of the remote server configuration.RemoteLoggingServerExceptionCopyright © 2025 WSO2. All rights reserved.