- 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
- Author:
- Marek Potociar, Fabian Ritzmann, [email protected]
-
Method Summary
Modifier and TypeMethodDescriptionA 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 Details
-
update
Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws 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 createdmodel
- The WSDL model of the servicewsBinding
- 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:
PolicyException
- Throw this exception if an error occurs
-