Class MetroTubelineAssembler

  • All Implemented Interfaces:
    TubelineAssembler

    public class MetroTubelineAssembler
    extends Object
    implements TubelineAssembler
    TODO: Write some description here ...
    Author:
    Miroslav Kos (miroslav.kos at oracle.com)
    • Field Detail

      • JAXWS_TUBES_CONFIG_NAMES

        public static final MetroConfigName JAXWS_TUBES_CONFIG_NAMES
    • Constructor Detail

    • Method Detail

      • createClient

        @NotNull
        public Tube createClient​(@NotNull
                                 ClientTubeAssemblerContext jaxwsContext)
        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:
        jaxwsContext - Object that captures various contextual information that can be used to determine the tubeline to be assembled.
        Returns:
        non-null freshly created tubeline.
      • createServer

        @NotNull
        public Tube createServer​(@NotNull
                                 ServerTubeAssemblerContext jaxwsContext)
        Description copied from interface: TubelineAssembler
        Creates a new tubeline for servers.

        When a JAX-WS server deploys a new endpoint, it internally uses this method to create a new tubeline as a part of the initialization.

        Note that this method is called only once to set up a 'master tubeline', and it gets copied from it.

        Specified by:
        createServer in interface TubelineAssembler
        Parameters:
        jaxwsContext - Object that captures various contextual information that can be used to determine the tubeline to be assembled.
        Returns:
        non-null freshly created tubeline.