Package com.sun.xml.ws.client.sei
Class SEIStub
- java.lang.Object
-
- com.sun.xml.ws.client.Stub
-
- com.sun.xml.ws.client.sei.SEIStub
-
- All Implemented Interfaces:
Component,ComponentRegistry,ResponseContextReceiver,WSBindingProvider,Closeable,AutoCloseable,InvocationHandler,javax.xml.ws.BindingProvider
public final class SEIStub extends Stub implements InvocationHandler
Stubthat handles method invocations through a strongly-typed endpoint interface.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description SOAPSEIModelseiModelSOAPVersionsoapVersion-
Fields inherited from class com.sun.xml.ws.client.Stub
addrVersion, binding, endpointReference, operationDispatcher, owner, portInfo, portname, PREVENT_SYNC_START_FOR_ASYNC_INVOKE, requestContext, wsdlPort
-
-
Constructor Summary
Constructors Constructor Description SEIStub(WSPortInfo portInfo, BindingImpl binding, SOAPSEIModel seiModel, WSEndpointReference epr)SEIStub(WSServiceDelegate owner, BindingImpl binding, SOAPSEIModel seiModel, Tube master, WSEndpointReference epr)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketdoProcess(Packet request, RequestContext rc, ResponseContextReceiver receiver)voiddoProcessAsync(AsyncResponseImpl<?> receiver, Packet request, RequestContext rc, Fiber.CompletionCallback callback)OperationDispatchergetOperationDispatcher()Nullable when there is no associated WSDL Modelprotected QNamegetPortName()Gets the port name that this stub is configured to talk to.Objectinvoke(Object proxy, Method method, Object[] args)voidsetOutboundHeaders(Object... headers)Sets the out-bound headers to be added to messages sent from thisBindingProvider.-
Methods inherited from class com.sun.xml.ws.client.Stub
close, configureFiber, getBinding, getComponents, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getManagedObjectManager, getPortInfo, getRequestContext, getResponseContext, getService, getServiceName, getSPI, getTubes, getWSDLPort, getWSEndpointReference, process, processAsync, resetRequestContext, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toString
-
-
-
-
Field Detail
-
seiModel
public final SOAPSEIModel seiModel
-
soapVersion
public final SOAPVersion soapVersion
-
-
Constructor Detail
-
SEIStub
@Deprecated public SEIStub(WSServiceDelegate owner, BindingImpl binding, SOAPSEIModel seiModel, Tube master, WSEndpointReference epr)
Deprecated.
-
SEIStub
public SEIStub(WSPortInfo portInfo, BindingImpl binding, SOAPSEIModel seiModel, WSEndpointReference epr)
-
-
Method Detail
-
getOperationDispatcher
@Nullable public OperationDispatcher getOperationDispatcher()
Nullable when there is no associated WSDL Model- Overrides:
getOperationDispatcherin classStub- Returns:
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
doProcess
public final Packet doProcess(Packet request, RequestContext rc, ResponseContextReceiver receiver)
-
doProcessAsync
public final void doProcessAsync(AsyncResponseImpl<?> receiver, Packet request, RequestContext rc, Fiber.CompletionCallback callback)
-
getPortName
@NotNull protected final QName getPortName()
Description copied from class:StubGets the port name that this stub is configured to talk to.When
Stub.wsdlPortis non-null, the port name is always the same asWSDLPort.getName(), but this method returns a port name even if no WSDL is available for this stub.- Specified by:
getPortNamein classStub
-
setOutboundHeaders
public void setOutboundHeaders(Object... headers)
Description copied from interface:WSBindingProviderSets the out-bound headers to be added to messages sent from thisBindingProvider.Each object must be a JAXB-bound object that is understood by the
JAXBContextobject known by thisWSBindingProvider(that is, if this is aDispatchwith JAXB, thenJAXBContextgiven toService.createDispatch(QName,JAXBContext,Mode)and if this is a typed proxy, thenJAXBContextimplicitly created by the JAX-WS RI.)- Specified by:
setOutboundHeadersin interfaceWSBindingProvider- Parameters:
headers- Can be null or empty.
-
-