public final class SEIStub extends Stub implements InvocationHandler
Stub
that handles method invocations
through a strongly-typed endpoint interface.Modifier and Type | Field and Description |
---|---|
(package private) Databinding |
databinding |
SOAPSEIModel |
seiModel |
SOAPVersion |
soapVersion |
addrVersion, binding, endpointReference, operationDispatcher, owner, portInfo, portname, PREVENT_SYNC_START_FOR_ASYNC_INVOKE, requestContext, wsdlPort
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
Constructor and Description |
---|
SEIStub(WSPortInfo portInfo,
BindingImpl binding,
SOAPSEIModel seiModel,
WSEndpointReference epr) |
SEIStub(WSServiceDelegate owner,
BindingImpl binding,
SOAPSEIModel seiModel,
Tube master,
WSEndpointReference epr)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Packet |
doProcess(Packet request,
RequestContext rc,
ResponseContextReceiver receiver) |
void |
doProcessAsync(AsyncResponseImpl<?> receiver,
Packet request,
RequestContext rc,
Fiber.CompletionCallback callback) |
OperationDispatcher |
getOperationDispatcher()
Nullable when there is no associated WSDL Model
|
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 . |
close, getBinding, getComponents, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getManagedObjectManager, getPortInfo, getRequestContext, getResponseContext, getService, getServiceName, getSPI, getTubes, getWSDLPort, getWSEndpointReference, process, processAsync, resetRequestContext, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toString
Databinding databinding
public final SOAPSEIModel seiModel
public final SOAPVersion soapVersion
@Deprecated public SEIStub(WSServiceDelegate owner, BindingImpl binding, SOAPSEIModel seiModel, Tube master, WSEndpointReference epr)
public SEIStub(WSPortInfo portInfo, BindingImpl binding, SOAPSEIModel seiModel, WSEndpointReference epr)
@Nullable public OperationDispatcher getOperationDispatcher()
getOperationDispatcher
in class Stub
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public final Packet doProcess(Packet request, RequestContext rc, ResponseContextReceiver receiver)
public final void doProcessAsync(AsyncResponseImpl<?> receiver, Packet request, RequestContext rc, Fiber.CompletionCallback callback)
@NotNull protected final QName getPortName()
Stub
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.
getPortName
in class Stub
public void setOutboundHeaders(Object... headers)
WSBindingProvider
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.)
setOutboundHeaders
in interface WSBindingProvider
headers
- Can be null or empty.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.