com.sun.xml.ws.server.sei
Class EndpointArgumentsBuilder.Body

java.lang.Object
  extended by com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
      extended by com.sun.xml.ws.server.sei.EndpointArgumentsBuilder.Body
Enclosing class:
EndpointArgumentsBuilder

public static final class EndpointArgumentsBuilder.Body
extends EndpointArgumentsBuilder

Reads the whole payload into a single JAXB bean.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
EndpointArgumentsBuilder.AttachmentBuilder, EndpointArgumentsBuilder.Body, EndpointArgumentsBuilder.Composite, EndpointArgumentsBuilder.DocLit, EndpointArgumentsBuilder.Header, EndpointArgumentsBuilder.NullSetter, EndpointArgumentsBuilder.RpcLit
 
Field Summary
 
Fields inherited from class com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
NONE, wrappedParts, wrapperName
 
Constructor Summary
EndpointArgumentsBuilder.Body(XMLBridge<?> bridge, EndpointValueSetter setter)
           
 
Method Summary
 void readRequest(Message msg, java.lang.Object[] args)
          Reads a request Message, disassembles it, and moves obtained Java values to the expected places.
 
Methods inherited from class com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
getVMUninitializedValue, getWSDLPartName, readWrappedRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointArgumentsBuilder.Body

public EndpointArgumentsBuilder.Body(XMLBridge<?> bridge,
                                     EndpointValueSetter setter)
Parameters:
bridge - specifies how to unmarshal the payload into a JAXB object.
setter - specifies how the obtained value is returned to the client.
Method Detail

readRequest

public void readRequest(Message msg,
                        java.lang.Object[] args)
                 throws javax.xml.bind.JAXBException
Description copied from class: EndpointArgumentsBuilder
Reads a request Message, disassembles it, and moves obtained Java values to the expected places.

Specified by:
readRequest in class EndpointArgumentsBuilder
Parameters:
msg - The request Message to be de-composed.
args - The Java arguments given to the SEI method invocation. Some parts of the reply message may be set to Holders in the arguments.
Throws:
javax.xml.bind.JAXBException - if there's an error during unmarshalling the request message.


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.