Class 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 Detail

      • WsawAddressingFeatureConfigurator

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

      • getFeatures

        public Collection<javax.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