class DefaultClientTubelineAssemblyContext extends TubelineAssemblyContextImpl implements ClientTubelineAssemblyContext
ClientTubeAssemblerContext
with additional featuresConstructor and Description |
---|
DefaultClientTubelineAssemblyContext(ClientTubeAssemblerContext context) |
Modifier and Type | Method and Description |
---|---|
EndpointAddress |
getAddress()
The endpoint address.
|
WSBinding |
getBinding()
The binding of the new pipeline to be created.
|
Codec |
getCodec()
Gets the
Codec that is set by setCodec(com.sun.xml.ws.api.pipe.Codec) or the default codec
based on the binding. |
Container |
getContainer()
Returns the Container in which the client is running
|
com.sun.xml.ws.policy.PolicyMap |
getPolicyMap() |
WSPortInfo |
getPortInfo() |
SEIModel |
getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpoint
|
WSService |
getService()
The pipeline is created for this
WSService . |
ClientTubeAssemblerContext |
getWrappedContext() |
WSDLPort |
getWsdlPort()
The created pipeline will be used to serve this port.
|
boolean |
isPolicyAvailable() |
void |
setCodec(Codec codec)
|
getAdaptedTubelineHead, getImplementation, getTubelineHead, setTubelineHead
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdaptedTubelineHead, getImplementation, getTubelineHead
public DefaultClientTubelineAssemblyContext(@NotNull ClientTubeAssemblerContext context)
public com.sun.xml.ws.policy.PolicyMap getPolicyMap()
getPolicyMap
in interface ClientTubelineAssemblyContext
public boolean isPolicyAvailable()
isPolicyAvailable
in interface ClientTubelineAssemblyContext
public WSDLPort getWsdlPort()
ClientTubeAssemblerContext.getWsdlModel()
getWsdlPort
in interface ClientTubelineAssemblyContext
public WSPortInfo getPortInfo()
getPortInfo
in interface ClientTubelineAssemblyContext
@NotNull public EndpointAddress getAddress()
WSDLPort
(even though there's WSDLPort.getAddress()
)
because sometimes WSDL is not available.getAddress
in interface ClientTubelineAssemblyContext
@NotNull public WSService getService()
WSService
.
Always non-null. (To be precise, the newly created pipeline
is owned by a proxy or a dispatch created from this WSService
.)getService
in interface ClientTubelineAssemblyContext
@NotNull public WSBinding getBinding()
getBinding
in interface ClientTubelineAssemblyContext
@Nullable public SEIModel getSEIModel()
getSEIModel
in interface ClientTubelineAssemblyContext
public Container getContainer()
getContainer
in interface ClientTubelineAssemblyContext
@NotNull public Codec getCodec()
Codec
that is set by setCodec(com.sun.xml.ws.api.pipe.Codec)
or the default codec
based on the binding.getCodec
in interface ClientTubelineAssemblyContext
public void setCodec(@NotNull Codec codec)
Codec
during Tube
line assembly. The
new codec will be used by jax-ws client runtime for encoding/decoding web service
request/response messages. The new codec should be used by the transport tubes.
the codec should correctly implement Codec.copy()
since it is used while
serving requests concurrently.
setCodec
in interface ClientTubelineAssemblyContext
codec
- codec to be used for web service requestspublic ClientTubeAssemblerContext getWrappedContext()
getWrappedContext
in interface ClientTubelineAssemblyContext
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.