Package com.sun.xml.ws.util.pipe
Class StandaloneTubeAssembler
- java.lang.Object
-
- com.sun.xml.ws.util.pipe.StandaloneTubeAssembler
-
- All Implemented Interfaces:
TubelineAssembler
public class StandaloneTubeAssembler extends Object implements TubelineAssembler
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:
- Jitendra Kotamraju
-
-
Field Summary
Fields Modifier and Type Field Description static booleandumpAre we going to dump the message to System.out?
-
Constructor Summary
Constructors Constructor Description StandaloneTubeAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TubecreateClient(ClientTubeAssemblerContext context)Creates a new tubeline for clients.TubecreateServer(ServerTubeAssemblerContext context)On Server-side, HandlerChains cannot be changed after it is deployed.
-
-
-
Method Detail
-
createClient
@NotNull public Tube createClient(ClientTubeAssemblerContext context)
Description copied from interface:TubelineAssemblerCreates a new tubeline for clients.When a JAX-WS client creates a proxy or a
Dispatchfrom aService, JAX-WS runtime internally uses this method to create a new tubeline as a part of the initilization.- Specified by:
createClientin interfaceTubelineAssembler- Parameters:
context- Object that captures various contextual information that can be used to determine the tubeline to be assembled.- Returns:
- non-null freshly created tubeline.
-
createServer
public Tube createServer(ServerTubeAssemblerContext 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:
createServerin interfaceTubelineAssembler- Parameters:
context- Object that captures various contextual information that can be used to determine the tubeline to be assembled.- Returns:
- non-null freshly created tubeline.
-
-