Class ServerAdminClient

java.lang.Object
org.wso2.carbon.server.admin.ui.ServerAdminClient
All Implemented Interfaces:
org.wso2.carbon.server.admin.common.IServerAdmin

public class ServerAdminClient extends Object implements org.wso2.carbon.server.admin.common.IServerAdmin
  • Constructor Details

    • ServerAdminClient

      public ServerAdminClient(org.apache.axis2.context.ConfigurationContext ctx, String serverURL, String cookie, javax.servlet.http.HttpSession session) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • ServerAdminClient

      public ServerAdminClient(String serverURL, String userName, String password) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
  • Method Details

    • restart

      public boolean restart() throws Exception
      Specified by:
      restart in interface org.wso2.carbon.server.admin.common.IServerAdmin
      Throws:
      Exception
    • restartGracefully

      public boolean restartGracefully() throws Exception
      Specified by:
      restartGracefully in interface org.wso2.carbon.server.admin.common.IServerAdmin
      Throws:
      Exception
    • shutdown

      public boolean shutdown() throws Exception
      Specified by:
      shutdown in interface org.wso2.carbon.server.admin.common.IServerAdmin
      Throws:
      Exception
    • shutdownGracefully

      public boolean shutdownGracefully() throws Exception
      Specified by:
      shutdownGracefully in interface org.wso2.carbon.server.admin.common.IServerAdmin
      Throws:
      Exception
    • getServerData

      public org.wso2.carbon.server.admin.common.ServerData getServerData() throws Exception
      Specified by:
      getServerData in interface org.wso2.carbon.server.admin.common.IServerAdmin
      Throws:
      Exception