Package com.sun.xml.ws.api.pipe
Class ClientTubeAssemblerContext
- java.lang.Object
-
- com.sun.xml.ws.api.pipe.ClientTubeAssemblerContext
-
- Direct Known Subclasses:
ClientPipeAssemblerContext
public class ClientTubeAssemblerContext extends Object
Factory for well-knownTube
implementations that theTubelineAssembler
needs to use to satisfy JAX-WS requirements.- Author:
- Jitendra Kotamraju
-
-
Constructor Summary
Constructors Constructor Description ClientTubeAssemblerContext(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding)
ClientTubeAssemblerContext(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding, Container container)
ClientTubeAssemblerContext(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding, Container container, Codec codec)
ClientTubeAssemblerContext(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding, Container container, Codec codec, SEIModel seiModel, Class sei)
ClientTubeAssemblerContext(EndpointAddress address, WSDLPort wsdlModel, WSBindingProvider bindingProvider, WSBinding binding, Container container, Codec codec, SEIModel seiModel, Class sei)
This constructor should be used only by JAX-WS Runtime and is not meant for external consumption.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tube
createClientMUTube(Tube next)
Creates aTube
that performs SOAP mustUnderstand processing.Tube
createDumpTube(String name, PrintStream out, Tube next)
creates aTube
that dumps messages that pass through.Tube
createHandlerTube(Tube next)
Creates aTube
that invokes protocol and logical handlers.Tube
createSecurityTube(Tube next)
Creates aTube
that adds container specific securityTube
createTransportTube()
Creates a transport pipe (for client), which becomes the terminal pipe.Tube
createValidationTube(Tube next)
creates aTube
that validates messages against schemaTube
createWsaTube(Tube next)
Creates aTube
that invokes protocol and logical handlers.EndpointAddress
getAddress()
The endpoint address.WSBinding
getBinding()
The binding of the new pipeline to be created.WSBindingProvider
getBindingProvider()
The pipeline is created for thisWSBindingProvider
.Codec
getCodec()
Gets theCodec
that is set bysetCodec(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 runningWSPortInfo
getPortInfo()
The pipeline is created for thisWSPortInfo
.Class
getSEI()
The SEI class for the endpointSEIModel
getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpointWSService
getService()
The pipeline is created for thisWSService
.WSDLPort
getWsdlModel()
The created pipeline will be used to serve this port.void
setCodec(Codec codec)
-
-
-
Constructor Detail
-
ClientTubeAssemblerContext
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding)
Deprecated.This constructor should be used only by JAX-WS Runtime and is not meant for external consumption.
-
ClientTubeAssemblerContext
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container)
Deprecated.This constructor should be used only by JAX-WS Runtime and is not meant for external consumption.
-
ClientTubeAssemblerContext
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec)
Deprecated.This constructor should be used only by JAX-WS Runtime and is not meant for external consumption.
-
ClientTubeAssemblerContext
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei)
Deprecated.This constructor should be used only by JAX-WS Runtime and is not meant for external consumption.
-
ClientTubeAssemblerContext
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSBindingProvider bindingProvider, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei)
This constructor should be used only by JAX-WS Runtime and is not meant for external consumption.- Since:
- JAX-WS 2.2
-
-
Method Detail
-
getAddress
@NotNull public 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.
-
getWsdlModel
@Nullable public WSDLPort getWsdlModel()
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.
-
getService
@NotNull public WSService getService()
-
getPortInfo
@Nullable public WSPortInfo getPortInfo()
The pipeline is created for thisWSPortInfo
. Nullable incase of backwards compatible usages of this class.
-
getBindingProvider
@Nullable public WSBindingProvider getBindingProvider()
The pipeline is created for thisWSBindingProvider
. Nullable incase of backwards compatible usages of this class.
-
getBinding
@NotNull public WSBinding getBinding()
The binding of the new pipeline to be created.
-
getSEIModel
@Nullable public 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.
-
getSEI
@Nullable public Class getSEI()
The SEI class for the endpoint- Returns:
- Null if the service doesn't have SEI model e.g. Dispatch, and otherwise non-null.
-
getContainer
public Container getContainer()
Returns the Container in which the client is running- Returns:
- Container in which client is running
-
createDumpTube
public Tube createDumpTube(String name, PrintStream out, Tube next)
creates aTube
that dumps messages that pass through.
-
createSecurityTube
@NotNull public Tube createSecurityTube(@NotNull Tube next)
Creates aTube
that adds container specific security
-
createWsaTube
public Tube createWsaTube(Tube next)
Creates aTube
that invokes protocol and logical handlers.
-
createHandlerTube
public Tube createHandlerTube(Tube next)
Creates aTube
that invokes protocol and logical handlers.
-
createClientMUTube
public Tube createClientMUTube(Tube next)
Creates aTube
that performs SOAP mustUnderstand processing. This pipe should be before HandlerPipes.
-
createValidationTube
public Tube createValidationTube(Tube next)
creates aTube
that validates messages against schema
-
createTransportTube
public Tube createTransportTube()
Creates a transport pipe (for client), which becomes the terminal pipe.
-
getCodec
@NotNull public Codec getCodec()
Gets theCodec
that 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
-
setCodec
public void setCodec(@NotNull Codec codec)
Interception point to changeCodec
duringTube
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.- Parameters:
codec
- codec to be used for web service requests
-
-