|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler
public abstract class ServerAdminCallbackHandler
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 |
|---|
protected Object clientData
| Constructor Detail |
|---|
public ServerAdminCallbackHandler(Object clientData)
clientData - Object mechanism by which the user can pass in user data
that will be avilable at the time this callback is called.public ServerAdminCallbackHandler()
| Method Detail |
|---|
public Object getClientData()
public void receiveResultgetServerStatus(String result)
public void receiveErrorgetServerStatus(Exception e)
public void receiveResultshutdown(boolean result)
public void receiveErrorshutdown(Exception e)
public void receiveResultgetServerDataAsString(String result)
public void receiveErrorgetServerDataAsString(Exception e)
public void receiveResultisAlive(boolean result)
public void receiveErrorisAlive(Exception e)
public void receiveResultgetServerData(ServerData result)
public void receiveErrorgetServerData(Exception e)
public void receiveResultrestartGracefully(boolean result)
public void receiveErrorrestartGracefully(Exception e)
public void receiveResultgetServerVersion(String result)
public void receiveErrorgetServerVersion(Exception e)
public void receiveResultrestart(boolean result)
public void receiveErrorrestart(Exception e)
public void receiveResultshutdownGracefully(boolean result)
public void receiveErrorshutdownGracefully(Exception e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||