com.sun.xml.wss.jaxws.impl
Class TubeConfiguration

java.lang.Object
  extended by com.sun.xml.wss.jaxws.impl.TubeConfiguration
Direct Known Subclasses:
ClientTubeConfiguration, ServerTubeConfiguration

public abstract class TubeConfiguration
extends java.lang.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.


Method Summary
abstract  com.sun.xml.ws.api.WSBinding getBinding()
          Gets the applicable WSBinding for this pipeline.
 com.sun.xml.ws.policy.PolicyMap getPolicyMap()
          Gets the PolicyMap that represents the policy information applicable to the current pipeline.
 com.sun.xml.ws.api.model.wsdl.WSDLPort getWSDLPort()
          Gets the WSDLPort that represents the WSDL information about the port for which a pipeline is created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPolicyMap

public com.sun.xml.ws.policy.PolicyMap getPolicyMap()
Gets the PolicyMap that represents the policy information applicable to the current pipeline.

Returns:
always non-null same object.

getWSDLPort

public com.sun.xml.ws.api.model.wsdl.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 com.sun.xml.ws.api.WSBinding getBinding()
Gets the applicable WSBinding for this pipeline.

Returns:
always non-null.