Class DiscoveryAdminCallbackHandler

java.lang.Object
org.wso2.carbon.discovery.stub.types.DiscoveryAdminCallbackHandler

public abstract class DiscoveryAdminCallbackHandler extends Object
DiscoveryAdminCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
  • Field Details

    • clientData

      protected Object clientData
  • Constructor Details

    • DiscoveryAdminCallbackHandler

      public DiscoveryAdminCallbackHandler(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.
    • DiscoveryAdminCallbackHandler

      public DiscoveryAdminCallbackHandler()
      Please use this constructor if you don't want to set any clientData
  • Method Details

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultgetServiceDiscoveryConfig

      public void receiveResultgetServiceDiscoveryConfig(ServiceDiscoveryConfig result)
      auto generated Axis2 call back method for getServiceDiscoveryConfig method override this method for handling normal response from getServiceDiscoveryConfig operation
    • receiveErrorgetServiceDiscoveryConfig

      public void receiveErrorgetServiceDiscoveryConfig(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getServiceDiscoveryConfig operation
    • receiveResultresolveTargetService

      public void receiveResultresolveTargetService(TargetServiceDetails result)
      auto generated Axis2 call back method for resolveTargetService method override this method for handling normal response from resolveTargetService operation
    • receiveErrorresolveTargetService

      public void receiveErrorresolveTargetService(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from resolveTargetService operation
    • receiveResultgetDiscoveryProxies

      public void receiveResultgetDiscoveryProxies(DiscoveryProxyDetails[] result)
      auto generated Axis2 call back method for getDiscoveryProxies method override this method for handling normal response from getDiscoveryProxies operation
    • receiveErrorgetDiscoveryProxies

      public void receiveErrorgetDiscoveryProxies(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getDiscoveryProxies operation
    • receiveResultprobeDiscoveryProxy

      public void receiveResultprobeDiscoveryProxy(TargetServiceDetails[] result)
      auto generated Axis2 call back method for probeDiscoveryProxy method override this method for handling normal response from probeDiscoveryProxy operation
    • receiveErrorprobeDiscoveryProxy

      public void receiveErrorprobeDiscoveryProxy(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from probeDiscoveryProxy operation
    • receiveResultgetDiscoveryProxy

      public void receiveResultgetDiscoveryProxy(DiscoveryProxyDetails result)
      auto generated Axis2 call back method for getDiscoveryProxy method override this method for handling normal response from getDiscoveryProxy operation
    • receiveErrorgetDiscoveryProxy

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