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

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

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.None, EndpointArgumentsBuilder.NullSetter, EndpointArgumentsBuilder.RpcLit
 
Field Summary
protected  ParameterImpl param
           
protected  String pname
           
protected  String pname1
           
protected  EndpointValueSetter setter
           
 
Fields inherited from class com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
NONE
 
Constructor Summary
EndpointArgumentsBuilder.AttachmentBuilder(ParameterImpl param, EndpointValueSetter setter)
           
 
Method Summary
static EndpointArgumentsBuilder createAttachmentBuilder(ParameterImpl param, EndpointValueSetter setter)
          Creates an AttachmentBuilder based on the parameter type
(package private) abstract  void mapAttachment(Attachment att, Object[] args)
           
 void readRequest(Message msg, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

setter

protected final EndpointValueSetter setter

param

protected final ParameterImpl param

pname

protected final String pname

pname1

protected final String pname1
Constructor Detail

EndpointArgumentsBuilder.AttachmentBuilder

EndpointArgumentsBuilder.AttachmentBuilder(ParameterImpl param,
                                           EndpointValueSetter setter)
Method Detail

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 parameter
setter - specifies how the obtained value is set into the argument. Takes care of Holder arguments.

readRequest

public void readRequest(Message msg,
                        Object[] args)
                 throws JAXBException,
                        javax.xml.stream.XMLStreamException
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:
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.

mapAttachment

abstract void mapAttachment(Attachment att,
                            Object[] args)
                     throws JAXBException
Throws:
JAXBException