org.wso2.carbon.server.admin.stub
Class ServerAdminCallbackHandler

java.lang.Object
  extended by org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler

public abstract class ServerAdminCallbackHandler
extends Object

ServerAdminCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.


Field Summary
protected  Object clientData
           
 
Constructor Summary
ServerAdminCallbackHandler()
          Please use this constructor if you don't want to set any clientData
ServerAdminCallbackHandler(Object clientData)
          User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.
 
Method Summary
 Object getClientData()
          Get the client data
 void receiveErrorgetServerData(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getServerData operation
 void receiveErrorgetServerDataAsString(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getServerDataAsString operation
 void receiveErrorgetServerStatus(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getServerStatus operation
 void receiveErrorgetServerVersion(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getServerVersion operation
 void receiveErrorisAlive(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isAlive operation
 void receiveErrorrestart(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from restart operation
 void receiveErrorrestartGracefully(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from restartGracefully operation
 void receiveErrorshutdown(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from shutdown operation
 void receiveErrorshutdownGracefully(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from shutdownGracefully operation
 void receiveResultgetServerData(ServerData result)
          auto generated Axis2 call back method for getServerData method override this method for handling normal response from getServerData operation
 void receiveResultgetServerDataAsString(String result)
          auto generated Axis2 call back method for getServerDataAsString method override this method for handling normal response from getServerDataAsString operation
 void receiveResultgetServerStatus(String result)
          auto generated Axis2 call back method for getServerStatus method override this method for handling normal response from getServerStatus operation
 void receiveResultgetServerVersion(String result)
          auto generated Axis2 call back method for getServerVersion method override this method for handling normal response from getServerVersion operation
 void receiveResultisAlive(boolean result)
          auto generated Axis2 call back method for isAlive method override this method for handling normal response from isAlive operation
 void receiveResultrestart(boolean result)
          auto generated Axis2 call back method for restart method override this method for handling normal response from restart operation
 void receiveResultrestartGracefully(boolean result)
          auto generated Axis2 call back method for restartGracefully method override this method for handling normal response from restartGracefully operation
 void receiveResultshutdown(boolean result)
          auto generated Axis2 call back method for shutdown method override this method for handling normal response from shutdown operation
 void receiveResultshutdownGracefully(boolean result)
          auto generated Axis2 call back method for shutdownGracefully method override this method for handling normal response from shutdownGracefully operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientData

protected Object clientData
Constructor Detail

ServerAdminCallbackHandler

public ServerAdminCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.

Parameters:
clientData - Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.

ServerAdminCallbackHandler

public ServerAdminCallbackHandler()
Please use this constructor if you don't want to set any clientData

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultgetServerStatus

public void receiveResultgetServerStatus(String result)
auto generated Axis2 call back method for getServerStatus method override this method for handling normal response from getServerStatus operation


receiveErrorgetServerStatus

public void receiveErrorgetServerStatus(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getServerStatus operation


receiveResultshutdown

public void receiveResultshutdown(boolean result)
auto generated Axis2 call back method for shutdown method override this method for handling normal response from shutdown operation


receiveErrorshutdown

public void receiveErrorshutdown(Exception e)
auto generated Axis2 Error handler override this method for handling error response from shutdown operation


receiveResultgetServerDataAsString

public void receiveResultgetServerDataAsString(String result)
auto generated Axis2 call back method for getServerDataAsString method override this method for handling normal response from getServerDataAsString operation


receiveErrorgetServerDataAsString

public void receiveErrorgetServerDataAsString(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getServerDataAsString operation


receiveResultisAlive

public void receiveResultisAlive(boolean result)
auto generated Axis2 call back method for isAlive method override this method for handling normal response from isAlive operation


receiveErrorisAlive

public void receiveErrorisAlive(Exception e)
auto generated Axis2 Error handler override this method for handling error response from isAlive operation


receiveResultgetServerData

public void receiveResultgetServerData(ServerData result)
auto generated Axis2 call back method for getServerData method override this method for handling normal response from getServerData operation


receiveErrorgetServerData

public void receiveErrorgetServerData(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getServerData operation


receiveResultrestartGracefully

public void receiveResultrestartGracefully(boolean result)
auto generated Axis2 call back method for restartGracefully method override this method for handling normal response from restartGracefully operation


receiveErrorrestartGracefully

public void receiveErrorrestartGracefully(Exception e)
auto generated Axis2 Error handler override this method for handling error response from restartGracefully operation


receiveResultgetServerVersion

public void receiveResultgetServerVersion(String result)
auto generated Axis2 call back method for getServerVersion method override this method for handling normal response from getServerVersion operation


receiveErrorgetServerVersion

public void receiveErrorgetServerVersion(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getServerVersion operation


receiveResultrestart

public void receiveResultrestart(boolean result)
auto generated Axis2 call back method for restart method override this method for handling normal response from restart operation


receiveErrorrestart

public void receiveErrorrestart(Exception e)
auto generated Axis2 Error handler override this method for handling error response from restart operation


receiveResultshutdownGracefully

public void receiveResultshutdownGracefully(boolean result)
auto generated Axis2 call back method for shutdownGracefully method override this method for handling normal response from shutdownGracefully operation


receiveErrorshutdownGracefully

public void receiveErrorshutdownGracefully(Exception e)
auto generated Axis2 Error handler override this method for handling error response from shutdownGracefully operation



Copyright © 2014 WSO2. All rights reserved.