com.sun.xml.ws.addressing.policy
Class AddressingPolicyMapConfigurator
java.lang.Object
com.sun.xml.ws.addressing.policy.AddressingPolicyMapConfigurator
- All Implemented Interfaces:
- PolicyMapConfigurator
public class AddressingPolicyMapConfigurator
- extends Object
- implements PolicyMapConfigurator
Generate an addressing policy and updates the PolicyMap if AddressingFeature is enabled.
Method Summary |
Collection<com.sun.xml.ws.policy.PolicySubject> |
update(com.sun.xml.ws.policy.PolicyMap policyMap,
SEIModel model,
WSBinding wsBinding)
Puts an addressing policy into the PolicyMap if the addressing feature was set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressingPolicyMapConfigurator
public AddressingPolicyMapConfigurator()
update
public 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
- Puts an addressing policy into the PolicyMap if the addressing feature was set.
- Specified by:
update
in interface PolicyMapConfigurator
- 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:
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.