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,jakarta.xml.ws.BindingProvider,Closeable,AutoCloseable,InvocationHandler
Stub that handles method invocations
through a strongly-typed endpoint interface.- Author:
- Kohsuke Kawaguchi
-
Field Summary
FieldsFields inherited from class com.sun.xml.ws.client.Stub
addrVersion, binding, endpointReference, operationDispatcher, owner, portInfo, portname, PREVENT_SYNC_START_FOR_ASYNC_INVOKE, requestContext, wsdlPortFields inherited from interface jakarta.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionSEIStub(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 PacketdoProcess(Packet request, RequestContext rc, ResponseContextReceiver receiver) final voiddoProcessAsync(AsyncResponseImpl<?> receiver, Packet request, RequestContext rc, Fiber.CompletionCallback callback) Nullable when there is no associated WSDL Modelprotected final QNameGets the port name that this stub is configured to talk to.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 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:
getOperationDispatcherin classStub
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
doProcess
-
doProcessAsync
public final void doProcessAsync(AsyncResponseImpl<?> receiver, Packet request, RequestContext rc, Fiber.CompletionCallback callback) -
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
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.
-