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

java.lang.Object
  extended by com.sun.xml.ws.server.sei.EndpointValueSetter
Direct Known Subclasses:
EndpointValueSetter.Param

abstract class EndpointValueSetter
extends Object

Moves a Java value unmarshalled from a response message to the right place.

Sometimes values are returned as a return value, and others are returned in the Holder value. Instances of this interface abstracts this detail.

EndpointValueSetter is a stateless behavior encapsulation.


Nested Class Summary
(package private) static class EndpointValueSetter.HolderParam
           
(package private) static class EndpointValueSetter.Param
           
 
Method Summary
static EndpointValueSetter get(ParameterImpl p)
          Returns a EndpointValueSetter suitable for the given Parameter.
(package private) abstract  void put(Object obj, Object[] args)
          Moves the value to the expected place.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

put

abstract void put(Object obj,
                  Object[] args)
Moves the value to the expected place.

Parameters:
obj - The unmarshalled object.
args - The arguments that need to be given to the Java method invocation. If obj is supposed to be returned as a Holder value, a suitable Holder is obtained from this argument list and obj is set.

get

public static EndpointValueSetter get(ParameterImpl p)
Returns a EndpointValueSetter suitable for the given Parameter.