org.wso2.carbon.server.admin.common
Interface IServerAdmin


public interface IServerAdmin


Method Summary
 ServerData getServerData()
           
 boolean restart()
          Forcefully restart this WSAS instance
 boolean restartGracefully()
          Gracefully restart this WSAS instance.
 boolean shutdown()
          Forcefully shutdown this WSAS instance
 boolean shutdownGracefully()
          Gracefully shutdown this WSAS instance All client connections will be served before shutting down the server
 

Method Detail

restart

boolean restart()
                throws Exception
Forcefully restart this WSAS instance

Returns:
true - If successful, false otherwise
Throws:
Exception - If an error occurs while restarting

shutdown

boolean shutdown()
                 throws Exception
Forcefully shutdown this WSAS instance

Returns:
true - If successful, false otherwise
Throws:
Exception - If an error occurs while shutting down

restartGracefully

boolean restartGracefully()
                          throws Exception
Gracefully restart this WSAS instance. All client connections will be served before restarting the server

Returns:
true - If successful, false otherwise
Throws:
Exception - If an error occurs while restarting

shutdownGracefully

boolean shutdownGracefully()
                           throws Exception
Gracefully shutdown this WSAS instance All client connections will be served before shutting down the server

Returns:
true - If successful, false otherwise
Throws:
Exception - If an error occurs while shutting down

getServerData

ServerData getServerData()
                         throws Exception
Throws:
Exception


Copyright © 2014 WSO2 Inc. All rights reserved.