public static final class EndpointArgumentsBuilder.Composite extends EndpointArgumentsBuilder
EndpointArgumentsBuilder
that is a composition of multiple
EndpointArgumentsBuilder
s.
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 EndpointArgumentsBuilder
s
(that each responsible for handling one part).
The model guarantees that only at most one EndpointArgumentsBuilder
will
return a value as a return value (and everything else has to go to
Holder
s.)
EndpointArgumentsBuilder.AttachmentBuilder, EndpointArgumentsBuilder.Body, EndpointArgumentsBuilder.Composite, EndpointArgumentsBuilder.DocLit, EndpointArgumentsBuilder.Header, EndpointArgumentsBuilder.None, EndpointArgumentsBuilder.NullSetter, EndpointArgumentsBuilder.RpcLit, EndpointArgumentsBuilder.WrappedPartBuilder
NONE, wrappedParts, wrapperName
Constructor and Description |
---|
EndpointArgumentsBuilder.Composite(Collection<? extends EndpointArgumentsBuilder> builders) |
EndpointArgumentsBuilder.Composite(EndpointArgumentsBuilder... builders) |
Modifier and Type | Method and Description |
---|---|
void |
readRequest(Message msg,
Object[] args)
Reads a request
Message , disassembles it, and moves obtained
Java values to the expected places. |
getVMUninitializedValue, getWSDLPartName, readWrappedRequest
public EndpointArgumentsBuilder.Composite(EndpointArgumentsBuilder... builders)
public EndpointArgumentsBuilder.Composite(Collection<? extends EndpointArgumentsBuilder> builders)
public void readRequest(Message msg, Object[] args) throws JAXBException, javax.xml.stream.XMLStreamException
EndpointArgumentsBuilder
Message
, disassembles it, and moves obtained
Java values to the expected places.readRequest
in class EndpointArgumentsBuilder
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 Holder
s in the arguments.JAXBException
- if there's an error during unmarshalling the request message.javax.xml.stream.XMLStreamException
- if there's an error during unmarshalling the request message.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.