Class MtomFeatureConfigurator

    • Constructor Detail

      • MtomFeatureConfigurator

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

      • getFeatures

        public Collection<jakarta.xml.ws.WebServiceFeature> getFeatures​(PolicyMapKey key,
                                                                        PolicyMap policyMap)
                                                                 throws PolicyException
        process Mtom policy assertions and if found and is not optional then mtom is enabled on the WSDLBoundPortType
        Specified by:
        getFeatures in interface PolicyFeatureConfigurator
        Parameters:
        key - Key that identifies the endpoint scope
        policyMap - Must be non-null
        Returns:
        A list of features that correspond to the policy identified by the policy map key. May be empty but not null.
        Throws:
        PolicyException - If retrieving the policy triggered an exception