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 Details

    • dump

      public static final boolean dump
      Are we going to dump the message to System.out?
  • Constructor Details

    • StandaloneTubeAssembler

      public StandaloneTubeAssembler()
      Default constructor.
  • Method Details

    • createClient

      @NotNull public Tube createClient(ClientTubeAssemblerContext context)
      Description copied from interface: TubelineAssembler
      Creates a new tubeline for clients.

      When a JAX-WS client creates a proxy or a Dispatch from a Service, JAX-WS runtime internally uses this method to create a new tubeline as a part of the initilization.

      Specified by:
      createClient in interface TubelineAssembler
      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:
      createServer in interface TubelineAssembler
      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.