public class ServerTubeAssemblerContext extends Object
Tube implementations
that the TubelineAssembler needs to use
to satisfy JAX-WS requirements.| Constructor and Description |
|---|
ServerTubeAssemblerContext(SEIModel seiModel,
WSDLPort wsdlModel,
WSEndpoint endpoint,
Tube terminal,
boolean isSynchronous) |
| Modifier and Type | Method and Description |
|---|---|
Tube |
createDumpTube(String name,
PrintStream out,
Tube next)
creates a
Tube that dumps messages that pass through. |
Tube |
createHandlerTube(Tube next)
Creates a
Tube that invokes protocol and logical handlers. |
Tube |
createMonitoringTube(Tube next)
Creates a
Tube that does the monitoring of the invocation for a
container |
Tube |
createSecurityTube(Tube next)
Creates a
Tube that adds container specific security |
Tube |
createServerMUTube(Tube next)
Creates a
Tube that performs SOAP mustUnderstand processing. |
Tube |
createValidationTube(Tube next)
creates a
Tube that validates messages against schema |
Tube |
createWsaTube(Tube next)
Creates WS-Addressing pipe
|
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. |
WSEndpoint<?> |
getEndpoint()
The created pipeline is used to serve this
WSEndpoint. |
SEIModel |
getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpoint
|
Tube |
getTerminalTube()
The last
Pipe in the pipeline. |
WSDLPort |
getWsdlModel()
The created pipeline will be used to serve this port.
|
boolean |
isSynchronous()
If this server pipeline is known to be used for serving synchronous transport,
then this method returns true.
|
void |
setCodec(Codec codec)
|
public ServerTubeAssemblerContext(@Nullable
SEIModel seiModel,
@Nullable
WSDLPort wsdlModel,
@NotNull
WSEndpoint endpoint,
@NotNull
Tube terminal,
boolean isSynchronous)
@Nullable public SEIModel getSEIModel()
@Nullable public WSDLPort getWsdlModel()
@NotNull public WSEndpoint<?> getEndpoint()
WSEndpoint.
Specifically, its WSBinding should be of interest to many
Pipes.@NotNull public Tube getTerminalTube()
Pipe in the pipeline. The assembler is expected to put
additional Pipes in front of it.
(Just to give you the idea how this is used, normally the terminal pipe
is the one that invokes the user application or Provider.)
public boolean isSynchronous()
@NotNull public Tube createServerMUTube(@NotNull Tube next)
Tube that performs SOAP mustUnderstand processing.
This pipe should be before HandlerPipes.@NotNull public Tube createHandlerTube(@NotNull Tube next)
Tube that invokes protocol and logical handlers.@NotNull public Tube createMonitoringTube(@NotNull Tube next)
Tube that does the monitoring of the invocation for a
container@NotNull public Tube createSecurityTube(@NotNull Tube next)
Tube that adds container specific securitypublic Tube createDumpTube(String name, PrintStream out, Tube next)
Tube that dumps messages that pass through.public Tube createValidationTube(Tube next)
Tube that validates messages against schema@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. The codec is a full codec that is responsible for
encoding/decoding entire protocol message(for e.g: it is responsible to
encode/decode entire MIME messages in SOAP binding)Codecs}public void setCodec(@NotNull
Codec codec)
Codec during Tubeline assembly. The
new codec will be used by jax-ws server runtime for encoding/decoding web service
request/response messages. WSEndpoint.createCodec() will return a copy
of this new codec and will be used in the server runtime.
The codec is a full codec that is responsible for encoding/decoding entire protocol message(for e.g: it is responsible to encode/decode entire MIME messages in SOAP binding)
the codec should correctly implement Codec.copy() since it is used while
serving requests concurrently.
codec - codec to be used for web service requestsCodecs}Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.