Class RemoteLoggingConfigClient

java.lang.Object
org.wso2.carbon.logging.remote.config.ui.RemoteLoggingConfigClient

public class RemoteLoggingConfigClient extends Object
This is the Admin client used for updating Log4J2 appenders related to remote server configuration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    org.wso2.carbon.logging.remote.config.stub.RemoteLoggingConfigStub
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RemoteLoggingConfigClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx)
     
  • Method Summary

    Modifier and Type
    Method
    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
    Get remote server configuration for a given log type.
    org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData[]
    Get remote server configuration.
    void
    resetRemoteServerConfig(org.wso2.carbon.logging.remote.config.stub.types.carbon.RemoteServerLoggerData data)
    Reset remote server configuration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • stub

      public org.wso2.carbon.logging.remote.config.stub.RemoteLoggingConfigStub stub
  • Constructor Details

    • RemoteLoggingConfigClient

      public RemoteLoggingConfigClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
  • 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 Exception
      Get 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.