Package com.sun.xml.ws.encoding.policy
Class MtomFeatureConfigurator
- java.lang.Object
-
- com.sun.xml.ws.encoding.policy.MtomFeatureConfigurator
-
- All Implemented Interfaces:
PolicyFeatureConfigurator
public class MtomFeatureConfigurator extends Object implements PolicyFeatureConfigurator
- Author:
- japod, Fabian Ritzmann
-
-
Constructor Summary
Constructors Constructor Description MtomFeatureConfigurator()
Creates a new instance of MtomFeatureConfigurator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<jakarta.xml.ws.WebServiceFeature>
getFeatures(PolicyMapKey key, PolicyMap policyMap)
process Mtom policy assertions and if found and is not optional then mtom is enabled on theWSDLBoundPortType
-
-
-
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 theWSDLBoundPortType
- Specified by:
getFeatures
in interfacePolicyFeatureConfigurator
- Parameters:
key
- Key that identifies the endpoint scopepolicyMap
- 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
-
-