FileDocCategorySizeDatePackage
PipeConfiguration.javaAPI DocExample4008Tue May 29 16:56:32 BST 2007com.sun.xml.ws.assembler

PipeConfiguration

public abstract class PipeConfiguration extends Object
Entry point to the various configuration information necessary for constructing {@link Pipe}s.

This object is created by a {@link PipelineAssembler} and passed as a constructor parameter to most pipes, so that they can access configuration information.

author
Kohsuke Kawaguchi

Fields Summary
private final com.sun.xml.ws.policy.PolicyMap
policy
private final com.sun.xml.ws.api.model.wsdl.WSDLPort
wsdlModel
Constructors Summary
PipeConfiguration(com.sun.xml.ws.policy.PolicyMap policy, com.sun.xml.ws.api.model.wsdl.WSDLPort wsdlModel)

        this.policy = policy;
        this.wsdlModel = wsdlModel;
    
Methods Summary
public abstract com.sun.xml.ws.api.WSBindinggetBinding()
Gets the applicable {@link WSBinding} for this pipeline.

return
always non-null.

public com.sun.xml.ws.policy.PolicyMapgetPolicyMap()
Gets the {@link PolicyMap} that represents the policy information applicable to the current pipeline.

return
always non-null same object.

        return policy;
    
public com.sun.xml.ws.api.model.wsdl.WSDLPortgetWSDLModel()
Gets the {@link 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 {@link 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.

return
null if this model is not present. If non-null, it's always the same object.

        return wsdlModel;