Class RemoteLoggingConfigClient
java.lang.Object
org.wso2.carbon.logging.remote.config.ui.RemoteLoggingConfigClient
This is the Admin client used for updating Log4J2 appenders related to remote server configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.wso2.carbon.logging.remote.config.stub.RemoteLoggingConfigStub -
Constructor Summary
ConstructorsConstructorDescriptionRemoteLoggingConfigClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data) Add remote server configuration.org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerDatagetRemoteServerConfig(String logType) Get remote server configuration for a given log type.org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData[]Get remote server configuration.voidresetRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data) Reset remote server configuration.
-
Field Details
-
stub
public org.wso2.carbon.logging.remote.config.stub.RemoteLoggingConfigStub stub
-
-
Constructor Details
-
Method Details
-
addRemoteServerConfig
public void addRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data) throws Exception Add remote server configuration.- Parameters:
data- RemoteServerLoggerData- Throws:
Exception- Exception
-
resetRemoteServerConfig
public void resetRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data) throws Exception Reset remote server configuration.- Parameters:
data- RemoteServerLoggerData- Throws:
Exception- Exception
-
getRemoteServerConfigs
public org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData[] getRemoteServerConfigs() throws ExceptionGet remote server configuration.- Returns:
- RemoteServerLoggerData[] Array of RemoteServerLoggerData
- Throws:
Exception- If an error occurs while getting remote server configuration.
-
getRemoteServerConfig
public org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData getRemoteServerConfig(String logType) throws Exception Get remote server configuration for a given log type.- Parameters:
logType- The log type of the remote server configuration.- Returns:
- RemoteServerLoggerData object that contains the remote server configuration.
- Throws:
Exception- If an error occurs while getting remote server configuration.
-