Module com.sun.xml.ws
Package com.sun.xml.ws.server.sei
Class EndpointArgumentsBuilder.AttachmentBuilder
java.lang.Object
com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
com.sun.xml.ws.server.sei.EndpointArgumentsBuilder.AttachmentBuilder
- Enclosing class:
- EndpointArgumentsBuilder
public abstract static class EndpointArgumentsBuilder.AttachmentBuilder
extends EndpointArgumentsBuilder
Reads an Attachment into a Java parameter.
-
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
Modifier and TypeFieldDescriptionprotected final ParameterImpl
protected final String
protected final String
protected final EndpointValueSetter
Fields inherited from class com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
NONE, wrapperName
-
Method Summary
Modifier and TypeMethodDescriptionstatic EndpointArgumentsBuilder
createAttachmentBuilder
(ParameterImpl param, EndpointValueSetter setter) Creates an AttachmentBuilder based on the parameter typevoid
readRequest
(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
-
Field Details
-
setter
-
param
-
pname
-
pname1
-
-
Method Details
-
createAttachmentBuilder
public static EndpointArgumentsBuilder createAttachmentBuilder(ParameterImpl param, EndpointValueSetter setter) Creates an AttachmentBuilder based on the parameter type- Parameters:
param
- runtime Parameter that abstracts the annotated java parametersetter
- specifies how the obtained value is set into the argument. Takes care of Holder arguments.
-
readRequest
public void readRequest(Message msg, Object[] args) throws jakarta.xml.bind.JAXBException, XMLStreamException Description copied from class:EndpointArgumentsBuilder
Reads a requestMessage
, disassembles it, and moves obtained Java values to the expected places.- Specified by:
readRequest
in classEndpointArgumentsBuilder
- Parameters:
msg
- The requestMessage
to be de-composed.args
- The Java arguments given to the SEI method invocation. Some parts of the reply message may be set toHolder
s in the arguments.- Throws:
jakarta.xml.bind.JAXBException
- if there's an error during unmarshalling the request message.XMLStreamException
- if there's an error during unmarshalling the request message.
-