Class StubHandler

java.lang.Object
com.sun.xml.ws.client.sei.StubHandler
All Implemented Interfaces:
ClientCallBridge
Direct Known Subclasses:
StubAsyncHandler

public class StubHandler extends Object implements ClientCallBridge
MethodHandler that handles synchronous method invocations. This is refactored from SEIMethodHandler.

This class mainly performs the following two tasks:

  1. Accepts Object[] that represents arguments for a Java method, and creates JAXBMessage that represents a request message.
  2. Takes a Message that represents a response, and extracts the return value (and updates Holders.)

Creating JAXBMessage

At the construction time, we prepare BodyBuilder and MessageFillers that know how to move arguments into a Message. Some arguments go to the payload, some go to headers, still others go to attachments.

Author:
Kohsuke Kawaguchi, Jitendra Kotamraju, [email protected]