Interface PolicyFeatureConfigurator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Collection<javax.xml.ws.WebServiceFeature> getFeatures​(com.sun.xml.ws.policy.PolicyMapKey key, com.sun.xml.ws.policy.PolicyMap policyMap)
      A callback method that allows to retrieve policy related information from provided PolicyMap and return a list of corresponding WebServiceFeatures.
    • Method Detail

      • getFeatures

        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
        A callback method that allows to retrieve policy related information from provided PolicyMap and return a list of corresponding WebServiceFeatures.
        Parameters:
        key - Identifies the policy in the policy map
        policyMap - Provides policies as a source of information on proper configuration
        Returns:
        A list of features that correspond to the policy identified by the policy map key. May be empty but not null.
        Throws:
        com.sun.xml.ws.policy.PolicyException - If an error occurred