org.apache.stratos.tenant.mgt.stub
Class TenantMgtAdminServiceCallbackHandler

java.lang.Object
  extended by org.apache.stratos.tenant.mgt.stub.TenantMgtAdminServiceCallbackHandler

public abstract class TenantMgtAdminServiceCallbackHandler
extends Object

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


Field Summary
protected  Object clientData
           
 
Constructor Summary
TenantMgtAdminServiceCallbackHandler()
          Please use this constructor if you don't want to set any clientData
TenantMgtAdminServiceCallbackHandler(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 receiveErroractivateTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from activateTenant operation
 void receiveErroraddTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from addTenant operation
 void receiveErrordeactivateTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from deactivateTenant operation
 void receiveErrordeleteTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from deleteTenant operation
 void receiveErrorgetTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getTenant operation
 void receiveErrorretrievePaginatedPartialSearchTenants(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from retrievePaginatedPartialSearchTenants operation
 void receiveErrorretrievePaginatedTenants(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from retrievePaginatedTenants operation
 void receiveErrorretrievePartialSearchTenants(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from retrievePartialSearchTenants operation
 void receiveErrorretrieveTenants(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from retrieveTenants operation
 void receiveErrorupdateTenant(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from updateTenant operation
 void receiveResultactivateTenant()
          auto generated Axis2 call back method for activateTenant method override this method for handling normal response from activateTenant operation
 void receiveResultaddTenant(String result)
          auto generated Axis2 call back method for addTenant method override this method for handling normal response from addTenant operation
 void receiveResultdeactivateTenant()
          auto generated Axis2 call back method for deactivateTenant method override this method for handling normal response from deactivateTenant operation
 void receiveResultdeleteTenant()
          auto generated Axis2 call back method for deleteTenant method override this method for handling normal response from deleteTenant operation
 void receiveResultgetTenant(TenantInfoBean result)
          auto generated Axis2 call back method for getTenant method override this method for handling normal response from getTenant operation
 void receiveResultretrievePaginatedPartialSearchTenants(PaginatedTenantInfoBean result)
          auto generated Axis2 call back method for retrievePaginatedPartialSearchTenants method override this method for handling normal response from retrievePaginatedPartialSearchTenants operation
 void receiveResultretrievePaginatedTenants(PaginatedTenantInfoBean result)
          auto generated Axis2 call back method for retrievePaginatedTenants method override this method for handling normal response from retrievePaginatedTenants operation
 void receiveResultretrievePartialSearchTenants(TenantInfoBean[] result)
          auto generated Axis2 call back method for retrievePartialSearchTenants method override this method for handling normal response from retrievePartialSearchTenants operation
 void receiveResultretrieveTenants(TenantInfoBean[] result)
          auto generated Axis2 call back method for retrieveTenants method override this method for handling normal response from retrieveTenants operation
 void receiveResultupdateTenant()
          auto generated Axis2 call back method for updateTenant method override this method for handling normal response from updateTenant 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

TenantMgtAdminServiceCallbackHandler

public TenantMgtAdminServiceCallbackHandler(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.

TenantMgtAdminServiceCallbackHandler

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

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultdeleteTenant

public void receiveResultdeleteTenant()
auto generated Axis2 call back method for deleteTenant method override this method for handling normal response from deleteTenant operation


receiveErrordeleteTenant

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


receiveResultretrievePartialSearchTenants

public void receiveResultretrievePartialSearchTenants(TenantInfoBean[] result)
auto generated Axis2 call back method for retrievePartialSearchTenants method override this method for handling normal response from retrievePartialSearchTenants operation


receiveErrorretrievePartialSearchTenants

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


receiveResultretrievePaginatedTenants

public void receiveResultretrievePaginatedTenants(PaginatedTenantInfoBean result)
auto generated Axis2 call back method for retrievePaginatedTenants method override this method for handling normal response from retrievePaginatedTenants operation


receiveErrorretrievePaginatedTenants

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


receiveResultretrieveTenants

public void receiveResultretrieveTenants(TenantInfoBean[] result)
auto generated Axis2 call back method for retrieveTenants method override this method for handling normal response from retrieveTenants operation


receiveErrorretrieveTenants

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


receiveResultactivateTenant

public void receiveResultactivateTenant()
auto generated Axis2 call back method for activateTenant method override this method for handling normal response from activateTenant operation


receiveErroractivateTenant

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


receiveResultretrievePaginatedPartialSearchTenants

public void receiveResultretrievePaginatedPartialSearchTenants(PaginatedTenantInfoBean result)
auto generated Axis2 call back method for retrievePaginatedPartialSearchTenants method override this method for handling normal response from retrievePaginatedPartialSearchTenants operation


receiveErrorretrievePaginatedPartialSearchTenants

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


receiveResultaddTenant

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


receiveErroraddTenant

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


receiveResultupdateTenant

public void receiveResultupdateTenant()
auto generated Axis2 call back method for updateTenant method override this method for handling normal response from updateTenant operation


receiveErrorupdateTenant

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


receiveResultgetTenant

public void receiveResultgetTenant(TenantInfoBean result)
auto generated Axis2 call back method for getTenant method override this method for handling normal response from getTenant operation


receiveErrorgetTenant

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


receiveResultdeactivateTenant

public void receiveResultdeactivateTenant()
auto generated Axis2 call back method for deactivateTenant method override this method for handling normal response from deactivateTenant operation


receiveErrordeactivateTenant

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



Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.