com.sun.xml.ws.encoding.policy
Class MtomFeatureConfigurator

java.lang.Object
  extended by com.sun.xml.ws.encoding.policy.MtomFeatureConfigurator
All Implemented Interfaces:
PolicyFeatureConfigurator

public class MtomFeatureConfigurator
extends Object
implements PolicyFeatureConfigurator


Constructor Summary
MtomFeatureConfigurator()
          Creates a new instance of MtomFeatureConfigurator
 
Method Summary
 Collection<WebServiceFeature> getFeatures(com.sun.xml.ws.policy.PolicyMapKey key, com.sun.xml.ws.policy.PolicyMap policyMap)
          process Mtom policy assertions and if found and is not optional then mtom is enabled on the WSDLBoundPortType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MtomFeatureConfigurator

public MtomFeatureConfigurator()
Creates a new instance of MtomFeatureConfigurator

Method Detail

getFeatures

public Collection<WebServiceFeature> getFeatures(com.sun.xml.ws.policy.PolicyMapKey key,
                                                 com.sun.xml.ws.policy.PolicyMap policyMap)
                                          throws com.sun.xml.ws.policy.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:
com.sun.xml.ws.policy.PolicyException - If retrieving the policy triggered an exception


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.