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

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

public class MtomMapUpdateProvider
extends java.lang.Object
implements PolicyMapUpdateProvider

Generate an MTOM policy if MTOM was enabled.


Constructor Summary
MtomMapUpdateProvider()
           
 
Method Summary
 void update(com.sun.xml.ws.policy.PolicyMapExtender policyMapMutator, com.sun.xml.ws.policy.PolicyMap policyMap, com.sun.xml.ws.api.model.SEIModel model, com.sun.xml.ws.api.WSBinding wsBinding)
          Generates an MTOM policy if MTOM is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MtomMapUpdateProvider

public MtomMapUpdateProvider()
Method Detail

update

public void update(com.sun.xml.ws.policy.PolicyMapExtender policyMapMutator,
                   com.sun.xml.ws.policy.PolicyMap policyMap,
                   com.sun.xml.ws.api.model.SEIModel model,
                   com.sun.xml.ws.api.WSBinding wsBinding)
            throws com.sun.xml.ws.policy.PolicyException
Generates an MTOM policy if MTOM is enabled.
  1. If MTOM is enabled
    1. If MTOM policy does not already exist, generate
    2. Otherwise do nothing
  2. Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled)

Specified by:
update in interface PolicyMapUpdateProvider
Throws:
com.sun.xml.ws.policy.PolicyException