com.sun.xml.ws.server.sei
Class EndpointMethodHandler

java.lang.Object
  extended by com.sun.xml.ws.server.sei.EndpointMethodHandler

final class EndpointMethodHandler
extends Object

This class mainly performs the following two tasks:

  1. Takes a Message] that represents a request, and extracts the arguments (and updates {@link Holder}s.)
  2. Accepts return value and {@link Holder} arguments for a Java method, and creates {@link JAXBMessage} that represents a response message.

Creating {@link JAXBMessage}

At the construction time, we prepare {@link EndpointArgumentsBuilder} that knows how to create endpoint {@link Method} invocation arguments. we also prepare {@link EndpointResponseMessageBuilder} and {@link MessageFiller}s that know how to move arguments into a {@link Message}. Some arguments go to the payload, some go to headers, still others go to attachments.


Constructor Summary
EndpointMethodHandler(SEIInvokerTube owner, JavaMethodImpl method, WSBinding binding)
           
 
Method Summary
 Packet invoke(Packet req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointMethodHandler

public EndpointMethodHandler(SEIInvokerTube owner,
                             JavaMethodImpl method,
                             WSBinding binding)
Method Detail

invoke

public Packet invoke(Packet req)