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
Stub
that handles method invocations
through a strongly-typed endpoint interface.- Author:
- Kohsuke Kawaguchi
-
Field Summary
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
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
ConstructorDescriptionSEIStub
(WSPortInfo portInfo, BindingImpl binding, SOAPSEIModel seiModel, WSEndpointReference epr) SEIStub
(WSServiceDelegate owner, BindingImpl binding, SOAPSEIModel seiModel, Tube master, WSEndpointReference epr) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionfinal Packet
doProcess
(Packet request, RequestContext rc, ResponseContextReceiver receiver) final void
doProcessAsync
(AsyncResponseImpl<?> receiver, Packet request, RequestContext rc, Fiber.CompletionCallback callback) Nullable when there is no associated WSDL Modelprotected final QName
Gets the port name that this stub is configured to talk to.void
setOutboundHeaders
(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 Details
-
seiModel
-
soapVersion
-
-
Constructor Details
-
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 Details
-
getOperationDispatcher
Nullable when there is no associated WSDL Model- Overrides:
getOperationDispatcher
in classStub
- Returns:
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
doProcess
-
doProcessAsync
public final void doProcessAsync(AsyncResponseImpl<?> receiver, Packet request, RequestContext rc, Fiber.CompletionCallback callback) -
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 asWSDLPort.getName()
, but this method returns a port name even if no WSDL is available for this stub.- Specified by:
getPortName
in classStub
-
setOutboundHeaders
Description copied from interface:WSBindingProvider
Sets 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
JAXBContext
object known by thisWSBindingProvider
(that is, if this is aDispatch
with JAXB, thenJAXBContext
given toService.createDispatch(QName,JAXBContext,Mode)
and if this is a typed proxy, thenJAXBContext
implicitly created by the JAX-WS RI.)- Specified by:
setOutboundHeaders
in interfaceWSBindingProvider
- Parameters:
headers
- Can be null or empty.
-