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

All Known Implementing Classes:
AddressingPolicyMapConfigurator, MtomPolicyMapConfigurator

public interface PolicyMapConfigurator

The service provider implementing this interface will be discovered and called to extend created PolicyMap instance with additional policy bindings. The call is performed directly after WSIT config file is parsed.

Since:
JAX-WS 2.2

Method Summary
 Collection<com.sun.xml.ws.policy.PolicySubject> update(com.sun.xml.ws.policy.PolicyMap policyMap, SEIModel model, WSBinding wsBinding)
          A callback method that allows to retrieve policy related information from provided parameters return a collection of new policies that are added to the map.
 

Method Detail

update

Collection<com.sun.xml.ws.policy.PolicySubject> update(com.sun.xml.ws.policy.PolicyMap policyMap,
                                                       SEIModel model,
                                                       WSBinding wsBinding)
                                                       throws com.sun.xml.ws.policy.PolicyException
A callback method that allows to retrieve policy related information from provided parameters return a collection of new policies that are added to the map. When new policies are returned, the caller may merge them with existing policies in the policy map.

Parameters:
policyMap - This map contains the policies that were already created
model - The WSDL model of the service
wsBinding - The binding of the service
Returns:
A collection of policies and the subject to which they are attached. May return null or an empty collection.
Throws:
com.sun.xml.ws.policy.PolicyException - Throw this exception if an error occurs


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