Class 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

      Fields 
      Modifier and Type Field Description
      protected Object clientData  
    • Constructor Summary

      Constructors 
      Constructor Description
      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.
    • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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