Package com.sun.xml.ws.util.pipe
Class StandalonePipeAssembler
- java.lang.Object
-
- com.sun.xml.ws.util.pipe.StandalonePipeAssembler
-
- All Implemented Interfaces:
PipelineAssembler
public class StandalonePipeAssembler extends Object implements PipelineAssembler
Default Pipeline assembler for JAX-WS client and server side runtimes. It assembles various pipes into a pipeline that a message needs to be passed through.- Author:
- Kohsuke Kawaguchi, Jitendra Kotamraju
-
-
Constructor Summary
Constructors Constructor Description StandalonePipeAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pipe
createClient(ClientPipeAssemblerContext context)
Creates a new pipeline for clients.Pipe
createServer(ServerPipeAssemblerContext context)
On Server-side, HandlerChains cannot be changed after it is deployed.
-
-
-
Method Detail
-
createClient
@NotNull public Pipe createClient(ClientPipeAssemblerContext context)
Description copied from interface:PipelineAssembler
Creates a new pipeline for clients.When a JAX-WS client creates a proxy or a
Dispatch
from aService
, JAX-WS runtime internally uses this method to create a new pipeline as a part of the initilization.- Specified by:
createClient
in interfacePipelineAssembler
- Parameters:
context
- Object that captures various contextual information that can be used to determine the pipeline to be assembled.- Returns:
- non-null freshly created pipeline.
-
createServer
public Pipe createServer(ServerPipeAssemblerContext context)
On Server-side, HandlerChains cannot be changed after it is deployed. During assembling the Pipelines, we can decide if we really need a SOAPHandlerPipe and LogicalHandlerPipe for a particular Endpoint.- Specified by:
createServer
in interfacePipelineAssembler
- Parameters:
context
- Object that captures various contextual information that can be used to determine the pipeline to be assembled.- Returns:
- non-null freshly created pipeline.
-
-