com.sun.xml.ws.policy.jaxws.spi
Interface ModelConfiguratorProvider

All Known Implementing Classes:
AddressingModelConfiguratorProvider, FastInfosetModelConfiguratorProvider, MtomModelConfiguratorProvider, RxModelConfigurationProvider, SelectOptimalEncodingModelConfiguratorProvider

public interface ModelConfiguratorProvider

The service provider implementing this interface will be discovered and called to configure wsdl model based on PolicyMap bound to it.


Method Summary
 void configure(com.sun.xml.ws.api.model.wsdl.WSDLModel model, com.sun.xml.ws.policy.PolicyMap map)
          A callback method that allows to retrieve policy related information from provided PolicyMap and to configure the WSDLModel accordingly.
 

Method Detail

configure

void configure(com.sun.xml.ws.api.model.wsdl.WSDLModel model,
               com.sun.xml.ws.policy.PolicyMap map)
               throws com.sun.xml.ws.policy.PolicyException
A callback method that allows to retrieve policy related information from provided PolicyMap and to configure the WSDLModel accordingly.

Parameters:
model - which is to be configured
map - provides policies as a source of information on proper configuration
Throws:
com.sun.xml.ws.policy.PolicyException