Package com.sun.xml.ws.server.sei
Class EndpointArgumentsBuilder.Composite
- java.lang.Object
-
- com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
-
- com.sun.xml.ws.server.sei.EndpointArgumentsBuilder.Composite
-
- Enclosing class:
- EndpointArgumentsBuilder
public static final class EndpointArgumentsBuilder.Composite extends EndpointArgumentsBuilder
EndpointArgumentsBuilderthat is a composition of multipleEndpointArgumentsBuilders.Sometimes we need to look at multiple parts of the reply message (say, two header params, one body param, and three attachments, etc.) and that's when this object is used to combine multiple
EndpointArgumentsBuilders (that each responsible for handling one part).The model guarantees that only at most one
EndpointArgumentsBuilderwill return a value as a return value (and everything else has to go toHolders.)
-
-
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
Constructors Constructor Description Composite(EndpointArgumentsBuilder... builders)Composite(Collection<? extends EndpointArgumentsBuilder> builders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadRequest(Message msg, Object[] args)Reads a requestMessage, 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
-
-
-
-
Constructor Detail
-
Composite
public Composite(EndpointArgumentsBuilder... builders)
-
Composite
public Composite(Collection<? extends EndpointArgumentsBuilder> builders)
-
-
Method Detail
-
readRequest
public void readRequest(Message msg, Object[] args) throws javax.xml.bind.JAXBException, XMLStreamException
Description copied from class:EndpointArgumentsBuilderReads a requestMessage, disassembles it, and moves obtained Java values to the expected places.- Specified by:
readRequestin classEndpointArgumentsBuilder- Parameters:
msg- The requestMessageto be de-composed.args- The Java arguments given to the SEI method invocation. Some parts of the reply message may be set toHolders in the arguments.- Throws:
javax.xml.bind.JAXBException- if there's an error during unmarshalling the request message.XMLStreamException- if there's an error during unmarshalling the request message.
-
-