Class 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 Detail

      • StandalonePipeAssembler

        public StandalonePipeAssembler()
    • 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 a Service, JAX-WS runtime internally uses this method to create a new pipeline as a part of the initilization.

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