com.sun.xml.ws.policy.jaxws.spi
Interface PolicyMapConfigurator
- All Known Implementing Classes:
- AddressingPolicyMapConfigurator, AtPolicyMapConfigurator, McPolicyMapConfigurator, MtomPolicyMapConfigurator, OptimalTransportPolicyMapConfigurator, RmPolicyMapConfigurator, TCPTransportPolicyMapConfigurator, WsawAddressingPolicyMapConfigurator
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 (marek.potociar at sun.com), Fabian Ritzmann, Rama.Pulavarthi@sun.com
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
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.