Class WsawAddressingFeatureConfigurator

java.lang.Object
com.sun.xml.ws.security.addressing.policy.WsawAddressingFeatureConfigurator
All Implemented Interfaces:
com.sun.xml.ws.policy.jaxws.spi.PolicyFeatureConfigurator

public class WsawAddressingFeatureConfigurator extends Object implements com.sun.xml.ws.policy.jaxws.spi.PolicyFeatureConfigurator
This Policy extension configures the WSDLModel with AddressingFeature when wsaw:UsingAddressing assertion is present in the PolicyMap. This class exists in WSIT to provide functionality for backwards compatibility with previously generated wsaw:UsingAddressing assertion.
Author:
Rama Pulavarthi
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance of WsawAddressingFeatureConfigurator
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<jakarta.xml.ws.WebServiceFeature>
    getFeatures(com.sun.xml.ws.policy.PolicyMapKey key, com.sun.xml.ws.policy.PolicyMap policyMap)
    process addressing policy assertions and if found and are not optional then addressing is enabled on the WSDLBoundPortType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WsawAddressingFeatureConfigurator

      public WsawAddressingFeatureConfigurator()
      Creates a new instance of WsawAddressingFeatureConfigurator
  • Method Details

    • getFeatures

      public Collection<jakarta.xml.ws.WebServiceFeature> getFeatures(com.sun.xml.ws.policy.PolicyMapKey key, com.sun.xml.ws.policy.PolicyMap policyMap) throws com.sun.xml.ws.policy.PolicyException
      process addressing policy assertions and if found and are not optional then addressing is enabled on the WSDLBoundPortType
      Specified by:
      getFeatures in interface com.sun.xml.ws.policy.jaxws.spi.PolicyFeatureConfigurator
      Parameters:
      key - Key that identifies the endpoint scope
      policyMap - must be non-null
      Returns:
      The list of features
      Throws:
      com.sun.xml.ws.policy.PolicyException - If retrieving the policy triggered an exception