org.wso2.carbon.server.admin.ui
Class ServerAdminClient

java.lang.Object
  extended by 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 Summary
ServerAdminClient(org.apache.axis2.context.ConfigurationContext ctx, String serverURL, String cookie, javax.servlet.http.HttpSession session)
           
ServerAdminClient(String serverURL, String userName, String password)
           
 
Method Summary
 org.wso2.carbon.server.admin.common.ServerData getServerData()
           
 boolean restart()
           
 boolean restartGracefully()
           
 boolean shutdown()
           
 boolean shutdownGracefully()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2014 WSO2 Inc. All rights reserved.