Package com.sun.xml.ws.addressing.policy
Class AddressingPolicyMapConfigurator
java.lang.Object
com.sun.xml.ws.addressing.policy.AddressingPolicyMapConfigurator
- All Implemented Interfaces:
PolicyMapConfigurator
Generate an addressing policy and updates the PolicyMap if AddressingFeature is enabled.
- Author:
- Fabian Ritzmann, Rama Pulavarthi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPuts an addressing policy into the PolicyMap if the addressing feature was set.
-
Constructor Details
-
AddressingPolicyMapConfigurator
public AddressingPolicyMapConfigurator()
-
-
Method Details
-
update
public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException Puts an addressing policy into the PolicyMap if the addressing feature was set.- Specified by:
update
in interfacePolicyMapConfigurator
- 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
-