com.sun.xml.ws.client.sei
Class SEIStub

java.lang.Object
  extended by com.sun.xml.ws.client.Stub
      extended by com.sun.xml.ws.client.sei.SEIStub
All Implemented Interfaces:
ResponseContextReceiver, WSBindingProvider, Closeable, InvocationHandler, javax.xml.ws.BindingProvider

public final class SEIStub
extends Stub
implements InvocationHandler

Stub that handles method invocations through a strongly-typed endpoint interface.


Field Summary
 SOAPSEIModel seiModel
           
 SOAPVersion soapVersion
           
 
Fields inherited from class com.sun.xml.ws.client.Stub
addrVersion, binding, endpointReference, owner, requestContext, wsdlPort
 
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
SEIStub(WSServiceDelegate owner, BindingImpl binding, SOAPSEIModel seiModel, Tube master, WSEndpointReference epr)
           
 
Method Summary
 Packet doProcess(Packet request, RequestContext rc, ResponseContextReceiver receiver)
           
 void doProcessAsync(Packet request, RequestContext rc, Fiber.CompletionCallback callback)
           
protected  QName getPortName()
          Gets the port name that this stub is configured to talk to.
 Object invoke(Object proxy, Method method, Object[] args)
           
 void setOutboundHeaders(Object... headers)
          Sets the out-bound headers to be added to messages sent from this BindingProvider.
 
Methods inherited from class com.sun.xml.ws.client.Stub
close, getBinding, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getRequestContext, getResponseContext, getServiceName, process, processAsync, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

seiModel

public final SOAPSEIModel seiModel

soapVersion

public final SOAPVersion soapVersion
Constructor Detail

SEIStub

public SEIStub(WSServiceDelegate owner,
               BindingImpl binding,
               SOAPSEIModel seiModel,
               Tube master,
               WSEndpointReference epr)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

doProcess

public final Packet doProcess(Packet request,
                              RequestContext rc,
                              ResponseContextReceiver receiver)

doProcessAsync

public final void doProcessAsync(Packet request,
                                 RequestContext rc,
                                 Fiber.CompletionCallback callback)

getPortName

@NotNull
protected final QName getPortName()
Description copied from class: Stub
Gets the port name that this stub is configured to talk to.

When Stub.wsdlPort is non-null, the port name is always the same as WSDLPort.getName(), but this method returns a port name even if no WSDL is available for this stub.

Specified by:
getPortName in class Stub

setOutboundHeaders

public void setOutboundHeaders(Object... headers)
Description copied from interface: WSBindingProvider
Sets the out-bound headers to be added to messages sent from this BindingProvider.

Each object must be a JAXB-bound object that is understood by the JAXBContext object known by this WSBindingProvider (that is, if this is a Dispatch with JAXB, then JAXBContext given to Service.createDispatch(QName,JAXBContext,Mode) and if this is a typed proxy, then JAXBContext implicitly created by the JAX-WS RI.)

Specified by:
setOutboundHeaders in interface WSBindingProvider
Parameters:
headers - Can be null or empty.