|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.assembler.TubelineAssemblyContextImpl
com.sun.xml.ws.assembler.DefaultClientTubelineAssemblyContext
class DefaultClientTubelineAssemblyContext
The context is a wrapper around the existing JAX-WS ClientTubeAssemblerContext
with additional features
Constructor Summary | |
---|---|
DefaultClientTubelineAssemblyContext(ClientTubeAssemblerContext context)
|
Method Summary | |
---|---|
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)
Interception point to change Codec during Tube line assembly. |
Methods inherited from class com.sun.xml.ws.assembler.TubelineAssemblyContextImpl |
---|
getAdaptedTubelineHead, getImplementation, getTubelineHead, setTubelineHead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.xml.ws.assembler.dev.TubelineAssemblyContext |
---|
getAdaptedTubelineHead, getImplementation, getTubelineHead |
Constructor Detail |
---|
public DefaultClientTubelineAssemblyContext(@NotNull ClientTubeAssemblerContext context)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |