java.lang.Object
com.sun.xml.ws.api.pipe.ClientTubeAssemblerContext
- Direct Known Subclasses:
ClientPipeAssemblerContext
Factory for well-known
Tube
implementations
that the TubelineAssembler
needs to use
to satisfy JAX-WS requirements.- Author:
- Jitendra Kotamraju
-
Constructor Summary
ConstructorsConstructorDescriptionClientTubeAssemblerContext
(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding) Deprecated.ClientTubeAssemblerContext
(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding, Container container) Deprecated.UseClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
ClientTubeAssemblerContext
(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding, Container container, Codec codec) Deprecated.UseClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
ClientTubeAssemblerContext
(EndpointAddress address, WSDLPort wsdlModel, WSService rootOwner, WSBinding binding, Container container, Codec codec, SEIModel seiModel, Class sei) Deprecated.UseClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
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
Modifier and TypeMethodDescriptioncreateClientMUTube
(Tube next) Creates aTube
that performs SOAP mustUnderstand processing.createDumpTube
(String name, PrintStream out, Tube next) creates aTube
that dumps messages that pass through.createHandlerTube
(Tube next) Creates aTube
that invokes protocol and logical handlers.createSecurityTube
(Tube next) Creates aTube
that adds container specific securityCreates a transport pipe (for client), which becomes the terminal pipe.createValidationTube
(Tube next) creates aTube
that validates messages against schemacreateWsaTube
(Tube next) Creates aTube
that invokes protocol and logical handlers.The endpoint address.The binding of the new pipeline to be created.The pipeline is created for thisWSBindingProvider
.getCodec()
Gets theCodec
that is set bysetCodec(com.sun.xml.ws.api.pipe.Codec)
or the default codec based on the binding.Returns the Container in which the client is runningThe pipeline is created for thisWSPortInfo
.getSEI()
The SEI class for the endpointThe created pipeline will use seiModel to get java concepts for the endpointThe pipeline is created for thisWSService
.The created pipeline will be used to serve this port.void
-
Constructor Details
-
ClientTubeAssemblerContext
@Deprecated public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding) Deprecated.UseClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
This constructor should be used only by JAX-WS Runtime and is not meant for external consumption. -
ClientTubeAssemblerContext
@Deprecated public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container) Deprecated.UseClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
This constructor should be used only by JAX-WS Runtime and is not meant for external consumption. -
ClientTubeAssemblerContext
@Deprecated public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec) Deprecated.UseClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
This constructor should be used only by JAX-WS Runtime and is not meant for external consumption. -
ClientTubeAssemblerContext
@Deprecated public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei) Deprecated.UseClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
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 Details
-
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
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
-
getPortInfo
The pipeline is created for thisWSPortInfo
. Nullable incase of backwards compatible usages of this class. -
getBindingProvider
The pipeline is created for thisWSBindingProvider
. Nullable incase of backwards compatible usages of this class. -
getBinding
The binding of the new pipeline to be created. -
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
The SEI class for the endpoint- Returns:
- Null if the service doesn't have SEI model e.g. Dispatch, and otherwise non-null.
-
getContainer
Returns the Container in which the client is running- Returns:
- Container in which client is running
-
createDumpTube
creates aTube
that dumps messages that pass through. -
createSecurityTube
Creates aTube
that adds container specific security -
createWsaTube
Creates aTube
that invokes protocol and logical handlers. -
createHandlerTube
Creates aTube
that invokes protocol and logical handlers. -
createClientMUTube
Creates aTube
that performs SOAP mustUnderstand processing. This pipe should be before HandlerPipes. -
createValidationTube
creates aTube
that validates messages against schema -
createTransportTube
Creates a transport pipe (for client), which becomes the terminal pipe. -
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
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
-
ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)