Package com.sun.xml.ws.assembler.dev
Interface ClientTubelineAssemblyContext
-
- All Superinterfaces:
TubelineAssemblyContext
- All Known Subinterfaces:
MetroClientTubelineAssemblyContext
- All Known Implementing Classes:
MetroClientTubelineAssemblyContextImpl
public interface ClientTubelineAssemblyContext extends TubelineAssemblyContext
- Author:
- Marek Potociar (marek.potociar at sun.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndpointAddressgetAddress()The endpoint address.WSBindinggetBinding()The binding of the new pipeline to be created.CodecgetCodec()Gets theCodecthat is set bysetCodec(com.sun.xml.ws.api.pipe.Codec)or the default codec based on the binding.ContainergetContainer()Returns the Container in which the client is runningPolicyMapgetPolicyMap()WSPortInfogetPortInfo()SEIModelgetSEIModel()The created pipeline will use seiModel to get java concepts for the endpointWSServicegetService()The pipeline is created for thisWSService.ClientTubeAssemblerContextgetWrappedContext()WSDLPortgetWsdlPort()The created pipeline will be used to serve this port.booleanisPolicyAvailable()voidsetCodec(Codec codec)-
Methods inherited from interface com.sun.xml.ws.assembler.dev.TubelineAssemblyContext
getAdaptedTubelineHead, getImplementation, getTubelineHead
-
-
-
-
Method Detail
-
getAddress
@NotNull EndpointAddress getAddress()
The endpoint address. Always non-null. This parameter is taken separately fromWSDLPort(even though there'sWSDLPort.getAddress()) because sometimes WSDL is not available.
-
getBinding
@NotNull WSBinding getBinding()
The binding of the new pipeline to be created.
-
getCodec
@NotNull Codec getCodec()
Gets theCodecthat is set bysetCodec(com.sun.xml.ws.api.pipe.Codec)or the default codec based on the binding.- Returns:
- codec to be used for web service requests
-
getContainer
Container getContainer()
Returns the Container in which the client is running- Returns:
- Container in which client is running
-
getPolicyMap
PolicyMap getPolicyMap()
-
getPortInfo
WSPortInfo getPortInfo()
-
getSEIModel
@Nullable SEIModel getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpoint- Returns:
- Null if the service doesn't have SEI model e.g. Dispatch, and otherwise non-null.
-
getService
@NotNull WSService getService()
-
getWrappedContext
ClientTubeAssemblerContext getWrappedContext()
-
getWsdlPort
WSDLPort getWsdlPort()
The created pipeline will be used to serve this port. Null if the service isn't associated with any port definition in WSDL, and otherwise non-null.
ReplacesClientTubeAssemblerContext.getWsdlModel()
-
isPolicyAvailable
boolean isPolicyAvailable()
-
setCodec
void setCodec(@NotNull Codec codec)Interception point to changeCodecduringTubeline 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 implementCodec.copy()since it is used while serving requests concurrently.- Parameters:
codec- codec to be used for web service requests
-
-