public class ServerAdminClient extends Object implements org.wso2.carbon.server.admin.common.IServerAdmin
| Constructor and Description |
|---|
ServerAdminClient(org.apache.axis2.context.ConfigurationContext ctx,
String serverURL,
String cookie,
javax.servlet.http.HttpSession session) |
ServerAdminClient(String serverURL,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.server.admin.common.ServerData |
getServerData() |
boolean |
restart() |
boolean |
restartGracefully() |
boolean |
shutdown() |
boolean |
shutdownGracefully() |
public ServerAdminClient(org.apache.axis2.context.ConfigurationContext ctx,
String serverURL,
String cookie,
javax.servlet.http.HttpSession session)
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic boolean restart()
throws Exception
restart in interface org.wso2.carbon.server.admin.common.IServerAdminExceptionpublic boolean restartGracefully()
throws Exception
restartGracefully in interface org.wso2.carbon.server.admin.common.IServerAdminExceptionpublic boolean shutdown()
throws Exception
shutdown in interface org.wso2.carbon.server.admin.common.IServerAdminExceptionpublic boolean shutdownGracefully()
throws Exception
shutdownGracefully in interface org.wso2.carbon.server.admin.common.IServerAdminExceptionCopyright © 2018 WSO2 Inc. All rights reserved.