public class RemoteLoggingConfigClient extends Object
Modifier and Type | Field and Description |
---|---|
org.wso2.carbon.logging.remote.config.stub.RemoteLoggingConfigStub |
stub |
Constructor and Description |
---|
RemoteLoggingConfigClient(String cookie,
String backendServerURL,
org.apache.axis2.context.ConfigurationContext configCtx) |
Modifier and Type | Method and Description |
---|---|
void |
addRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data)
Add remote server configuration.
|
org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData |
getRemoteServerConfig(String logType)
Get remote server configuration for a given log type.
|
org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData[] |
getRemoteServerConfigs()
Get remote server configuration.
|
void |
resetRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data)
Reset remote server configuration.
|
public void addRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data) throws Exception
data
- RemoteServerLoggerDataException
- Exceptionpublic void resetRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data) throws Exception
data
- RemoteServerLoggerDataException
- Exceptionpublic org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData[] getRemoteServerConfigs() throws Exception
Exception
- If an error occurs while getting remote server configuration.public org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData getRemoteServerConfig(String logType) throws Exception
logType
- The log type of the remote server configuration.Exception
- If an error occurs while getting remote server configuration.Copyright © 2023 WSO2. All rights reserved.