com.sun.xml.ws.client.sei
Class SEIMethodHandler

java.lang.Object
  extended by com.sun.xml.ws.client.sei.MethodHandler
      extended by com.sun.xml.ws.client.sei.SEIMethodHandler
Direct Known Subclasses:
AsyncMethodHandler, SyncMethodHandler

abstract class SEIMethodHandler
extends MethodHandler

MethodHandler that handles synchronous method invocations.

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 com.sun.xml.ws.api.message.Message] that represents a response, and extracts the return value (and updates {@link javax.xml.ws.Holder }s.)

Creating {@link com.sun.xml.ws.message.jaxb.JAXBMessage }

At the construction time, we prepare {@link com.sun.xml.ws.client.sei.BodyBuilder} and {@link com.sun.xml.ws.client.sei.MessageFiller}s that know how to move arguments into a {@link com.sun.xml.ws.api.message.Message }. Some arguments go to the payload, some go to headers, still others go to attachments.


Field Summary
protected  Map<QName,CheckedExceptionImpl> checkedExceptions
           
protected  boolean isOneWay
           
protected  JavaMethodImpl javaMethod
           
protected  String soapAction
           
 
Fields inherited from class com.sun.xml.ws.client.sei.MethodHandler
owner
 
Constructor Summary
SEIMethodHandler(SEIStub owner, JavaMethodImpl method)
           
 
Method Summary
(package private)  ResponseBuilder buildResponseBuilder(JavaMethodImpl method, ValueSetterFactory setterFactory)
           
(package private)  Message createRequestMessage(Object[] args)
          Creates a request JAXBMessage from method arguments.
(package private) abstract  ValueGetterFactory getValueGetterFactory()
           
 
Methods inherited from class com.sun.xml.ws.client.sei.MethodHandler
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

soapAction

protected final String soapAction

isOneWay

protected final boolean isOneWay

javaMethod

protected final JavaMethodImpl javaMethod

checkedExceptions

protected final Map<QName,CheckedExceptionImpl> checkedExceptions
Constructor Detail

SEIMethodHandler

SEIMethodHandler(SEIStub owner,
                 JavaMethodImpl method)
Method Detail

buildResponseBuilder

ResponseBuilder buildResponseBuilder(JavaMethodImpl method,
                                     ValueSetterFactory setterFactory)

createRequestMessage

Message createRequestMessage(Object[] args)
Creates a request JAXBMessage from method arguments.

Parameters:
args - proxy invocation arguments
Returns:
Message for the arguments

getValueGetterFactory

abstract ValueGetterFactory getValueGetterFactory()