Class ConfigServiceAdminCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.mediation.configadmin.stub.ConfigServiceAdminCallbackHandler
-
public abstract class ConfigServiceAdminCallbackHandler extends Object
ConfigServiceAdminCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectclientData
-
Constructor Summary
Constructors Constructor Description ConfigServiceAdminCallbackHandler()Please use this constructor if you don't want to set any clientDataConfigServiceAdminCallbackHandler(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetClientData()Get the client datavoidreceiveErroractivate(Exception e)auto generated Axis2 Error handler override this method for handling error response from activate operationvoidreceiveErroraddExistingConfiguration(Exception e)auto generated Axis2 Error handler override this method for handling error response from addExistingConfiguration operationvoidreceiveErrorcreate(Exception e)auto generated Axis2 Error handler override this method for handling error response from create operationvoidreceiveErrordeleteConfiguration(Exception e)auto generated Axis2 Error handler override this method for handling error response from deleteConfiguration operationvoidreceiveErrorgetConfiguration(Exception e)auto generated Axis2 Error handler override this method for handling error response from getConfiguration operationvoidreceiveErrorgetConfigurationList(Exception e)auto generated Axis2 Error handler override this method for handling error response from getConfigurationList operationvoidreceiveErrorsaveConfigurationToDisk(Exception e)auto generated Axis2 Error handler override this method for handling error response from saveConfigurationToDisk operationvoidreceiveErrorupdateConfiguration(Exception e)auto generated Axis2 Error handler override this method for handling error response from updateConfiguration operationvoidreceiveErrorvalidateConfiguration(Exception e)auto generated Axis2 Error handler override this method for handling error response from validateConfiguration operationvoidreceiveResultactivate(boolean result)auto generated Axis2 call back method for activate method override this method for handling normal response from activate operationvoidreceiveResultaddExistingConfiguration(boolean result)auto generated Axis2 call back method for addExistingConfiguration method override this method for handling normal response from addExistingConfiguration operationvoidreceiveResultcreate(boolean result)auto generated Axis2 call back method for create method override this method for handling normal response from create operationvoidreceiveResultdeleteConfiguration(boolean result)auto generated Axis2 call back method for deleteConfiguration method override this method for handling normal response from deleteConfiguration operationvoidreceiveResultgetConfiguration(String result)auto generated Axis2 call back method for getConfiguration method override this method for handling normal response from getConfiguration operationvoidreceiveResultgetConfigurationList(ConfigurationInformation[] result)auto generated Axis2 call back method for getConfigurationList method override this method for handling normal response from getConfigurationList operationvoidreceiveResultsaveConfigurationToDisk(boolean result)auto generated Axis2 call back method for saveConfigurationToDisk method override this method for handling normal response from saveConfigurationToDisk operationvoidreceiveResultupdateConfiguration(boolean result)auto generated Axis2 call back method for updateConfiguration method override this method for handling normal response from updateConfiguration operationvoidreceiveResultvalidateConfiguration(ValidationError[] result)auto generated Axis2 call back method for validateConfiguration method override this method for handling normal response from validateConfiguration operation
-
-
-
Field Detail
-
clientData
protected Object clientData
-
-
Constructor Detail
-
ConfigServiceAdminCallbackHandler
public ConfigServiceAdminCallbackHandler(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.
-
ConfigServiceAdminCallbackHandler
public ConfigServiceAdminCallbackHandler()
Please use this constructor if you don't want to set any clientData
-
-
Method Detail
-
getClientData
public Object getClientData()
Get the client data
-
receiveResultgetConfiguration
public void receiveResultgetConfiguration(String result)
auto generated Axis2 call back method for getConfiguration method override this method for handling normal response from getConfiguration operation
-
receiveErrorgetConfiguration
public void receiveErrorgetConfiguration(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getConfiguration operation
-
receiveResultgetConfigurationList
public void receiveResultgetConfigurationList(ConfigurationInformation[] result)
auto generated Axis2 call back method for getConfigurationList method override this method for handling normal response from getConfigurationList operation
-
receiveErrorgetConfigurationList
public void receiveErrorgetConfigurationList(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getConfigurationList operation
-
receiveResultaddExistingConfiguration
public void receiveResultaddExistingConfiguration(boolean result)
auto generated Axis2 call back method for addExistingConfiguration method override this method for handling normal response from addExistingConfiguration operation
-
receiveErroraddExistingConfiguration
public void receiveErroraddExistingConfiguration(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addExistingConfiguration operation
-
receiveResultdeleteConfiguration
public void receiveResultdeleteConfiguration(boolean result)
auto generated Axis2 call back method for deleteConfiguration method override this method for handling normal response from deleteConfiguration operation
-
receiveErrordeleteConfiguration
public void receiveErrordeleteConfiguration(Exception e)
auto generated Axis2 Error handler override this method for handling error response from deleteConfiguration operation
-
receiveResultcreate
public void receiveResultcreate(boolean result)
auto generated Axis2 call back method for create method override this method for handling normal response from create operation
-
receiveErrorcreate
public void receiveErrorcreate(Exception e)
auto generated Axis2 Error handler override this method for handling error response from create operation
-
receiveResultvalidateConfiguration
public void receiveResultvalidateConfiguration(ValidationError[] result)
auto generated Axis2 call back method for validateConfiguration method override this method for handling normal response from validateConfiguration operation
-
receiveErrorvalidateConfiguration
public void receiveErrorvalidateConfiguration(Exception e)
auto generated Axis2 Error handler override this method for handling error response from validateConfiguration operation
-
receiveResultactivate
public void receiveResultactivate(boolean result)
auto generated Axis2 call back method for activate method override this method for handling normal response from activate operation
-
receiveErroractivate
public void receiveErroractivate(Exception e)
auto generated Axis2 Error handler override this method for handling error response from activate operation
-
receiveResultsaveConfigurationToDisk
public void receiveResultsaveConfigurationToDisk(boolean result)
auto generated Axis2 call back method for saveConfigurationToDisk method override this method for handling normal response from saveConfigurationToDisk operation
-
receiveErrorsaveConfigurationToDisk
public void receiveErrorsaveConfigurationToDisk(Exception e)
auto generated Axis2 Error handler override this method for handling error response from saveConfigurationToDisk operation
-
receiveResultupdateConfiguration
public void receiveResultupdateConfiguration(boolean result)
auto generated Axis2 call back method for updateConfiguration method override this method for handling normal response from updateConfiguration operation
-
receiveErrorupdateConfiguration
public void receiveErrorupdateConfiguration(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateConfiguration operation
-
-