Class TubeConfiguration

  • Direct Known Subclasses:
    ClientTubeConfiguration, ServerTubeConfiguration

    public abstract class TubeConfiguration
    extends Object
    Entry point to the various configuration information necessary for constructing Tubes.

    This object is created by a TubelineAssembler and passed as a constructor parameter to most pipes, so that they can access configuration information.

    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • getPolicyMap

        public PolicyMap getPolicyMap()
        Gets the PolicyMap that represents the policy information applicable to the current pipeline.
        Returns:
        always non-null same object.
      • getWSDLPort

        public WSDLPort getWSDLPort()
        Gets the WSDLPort that represents the WSDL information about the port for which a pipeline is created.

        This model is present only when the client provided WSDL to the JAX-WS runtime in some means (such as indirectly through SEI or through Dispatch.)

        JAX-WS allows modes of operations where no WSDL is available for the current pipeline, and in which case this model is not present.

        Returns:
        null if this model is not present. If non-null, it's always the same object.
      • getBinding

        public abstract WSBinding getBinding()
        Gets the applicable WSBinding for this pipeline.
        Returns:
        always non-null.