Class ServerAdminCallbackHandler
java.lang.Object
org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler
ServerAdminCallbackHandler Callback class, Users can extend this class and implement
their own receiveResult and receiveError methods.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlease use this constructor if you don't want to set any clientDataServerAdminCallbackHandler(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
Modifier and TypeMethodDescriptionGet the client datavoidauto generated Axis2 Error handler override this method for handling error response from getServerData operationvoidauto generated Axis2 Error handler override this method for handling error response from getServerDataAsString operationvoidauto generated Axis2 Error handler override this method for handling error response from getServerStatus operationvoidauto generated Axis2 Error handler override this method for handling error response from getServerVersion operationvoidauto generated Axis2 Error handler override this method for handling error response from isAlive operationvoidauto generated Axis2 Error handler override this method for handling error response from restart operationvoidauto generated Axis2 Error handler override this method for handling error response from restartGracefully operationvoidauto generated Axis2 Error handler override this method for handling error response from shutdown operationvoidauto generated Axis2 Error handler override this method for handling error response from shutdownGracefully operationvoidreceiveResultgetServerData(ServerData result) auto generated Axis2 call back method for getServerData method override this method for handling normal response from getServerData operationvoidauto generated Axis2 call back method for getServerDataAsString method override this method for handling normal response from getServerDataAsString operationvoidreceiveResultgetServerStatus(String result) auto generated Axis2 call back method for getServerStatus method override this method for handling normal response from getServerStatus operationvoidreceiveResultgetServerVersion(String result) auto generated Axis2 call back method for getServerVersion method override this method for handling normal response from getServerVersion operationvoidreceiveResultisAlive(boolean result) auto generated Axis2 call back method for isAlive method override this method for handling normal response from isAlive operationvoidreceiveResultrestart(boolean result) auto generated Axis2 call back method for restart method override this method for handling normal response from restart operationvoidreceiveResultrestartGracefully(boolean result) auto generated Axis2 call back method for restartGracefully method override this method for handling normal response from restartGracefully operationvoidreceiveResultshutdown(boolean result) auto generated Axis2 call back method for shutdown method override this method for handling normal response from shutdown operationvoidreceiveResultshutdownGracefully(boolean result) auto generated Axis2 call back method for shutdownGracefully method override this method for handling normal response from shutdownGracefully operation
-
Field Details
-
clientData
-
-
Constructor Details
-
ServerAdminCallbackHandler
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 Details
-
getClientData
Get the client data -
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
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
auto generated Axis2 Error handler override this method for handling error response from shutdownGracefully 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
auto generated Axis2 Error handler override this method for handling error response from isAlive operation -
receiveResultgetServerData
auto generated Axis2 call back method for getServerData method override this method for handling normal response from getServerData operation -
receiveErrorgetServerData
auto generated Axis2 Error handler override this method for handling error response from getServerData operation -
receiveResultgetServerStatus
auto generated Axis2 call back method for getServerStatus method override this method for handling normal response from getServerStatus operation -
receiveErrorgetServerStatus
auto generated Axis2 Error handler override this method for handling error response from getServerStatus 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
auto generated Axis2 Error handler override this method for handling error response from restartGracefully operation -
receiveResultgetServerDataAsString
auto generated Axis2 call back method for getServerDataAsString method override this method for handling normal response from getServerDataAsString operation -
receiveErrorgetServerDataAsString
auto generated Axis2 Error handler override this method for handling error response from getServerDataAsString 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
auto generated Axis2 Error handler override this method for handling error response from shutdown operation -
receiveResultgetServerVersion
auto generated Axis2 call back method for getServerVersion method override this method for handling normal response from getServerVersion operation -
receiveErrorgetServerVersion
auto generated Axis2 Error handler override this method for handling error response from getServerVersion operation
-