Class InvocationControllerImpl

    • Constructor Detail

      • InvocationControllerImpl

        public InvocationControllerImpl()
    • Method Detail

      • invoke

        public InvocationContext invoke​(InvocationContext ic)
        Description copied from interface: InvocationController
        Performs a synchronous (blocking) invocation of a target service. The InvocationContext passed in should contain a valid MessageContext containing the properties and message to be sent for the request. The response contents will be processed and placed in the InvocationContext as well.
        Specified by:
        invoke in interface InvocationController
        Returns:
      • invokeOneWay

        public void invokeOneWay​(InvocationContext ic)
                          throws Exception
        Description copied from interface: InvocationController
        Performs a one-way invocation of the client. This is SHOULD NOT be a robust invocation, so any fault that occurs during the processing of the request will not be returned to the client. Errors returned to the client are problems that occurred during the sending of the message to the server.
        Specified by:
        invokeOneWay in interface InvocationController
        Throws:
        Exception
      • doInvokeOneWay

        protected abstract void doInvokeOneWay​(MessageContext mc)
      • invokeAsync

        public Response invokeAsync​(InvocationContext ic)
        Description copied from interface: InvocationController
        Performs an asynchronous (non-blocking) invocation of the client based on a callback model. The AsyncHandler that is passed in is the callback that the client programmer supplied when they invoked their JAX-WS Dispatch or their SEI-based dynamic proxy.
        Specified by:
        invokeAsync in interface InvocationController
        Returns:
      • invokeAsync

        public Future<?> invokeAsync​(InvocationContext ic,
                                     AsyncHandler asyncHandler)
        Description copied from interface: InvocationController
        Performs an asynchronous (non-blocking) invocation of the client based on a polling model. The Response object that is returned allows the client programmer to poll against it to see if a response has been sent back by the server.
        Specified by:
        invokeAsync in interface InvocationController
        Returns:
      • prepareRequest

        protected abstract void prepareRequest​(MessageContext mc)
        Abstract method that must be implemented by whoever is providing the specific client binding. Once this is called, everything that is needed to invoke the operation must be available in the MessageContext.
        Parameters:
        mc -
      • prepareResponse

        protected abstract void prepareResponse​(MessageContext mc)
        Abstract method that must be implemented by whoever is providing the specific client binding. This is called after the response has come back and allows the client binding to put whatever info it has in the response MessageContext.
        Parameters:
        mc -