com.sun.xml.ws.security.addressing.policy
Class WsawAddressingFeatureConfigurator

java.lang.Object
  extended by com.sun.xml.ws.security.addressing.policy.WsawAddressingFeatureConfigurator
All Implemented Interfaces:
PolicyFeatureConfigurator

public class WsawAddressingFeatureConfigurator
extends Object
implements PolicyFeatureConfigurator

This Policy extension configures the WSDLModel with AddressingFeature when wsaw:UsingAddressing assertion is present in the PolicyMap. This class exists in WSIT to provide functionality for backwards compatibility with previously generated wsaw:UsingAddressing assertion.

Author:
Rama Pulavarthi

Constructor Summary
WsawAddressingFeatureConfigurator()
          Creates a new instance of WsawAddressingFeatureConfigurator
 
Method Summary
 Collection<WebServiceFeature> getFeatures(PolicyMapKey key, PolicyMap policyMap)
          process addressing policy assertions and if found and are not optional then addressing is enabled on the WSDLBoundPortType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsawAddressingFeatureConfigurator

public WsawAddressingFeatureConfigurator()
Creates a new instance of WsawAddressingFeatureConfigurator

Method Detail

getFeatures

public Collection<WebServiceFeature> getFeatures(PolicyMapKey key,
                                                 PolicyMap policyMap)
                                          throws PolicyException
process addressing policy assertions and if found and are not optional then addressing is enabled on the WSDLBoundPortType

Specified by:
getFeatures in interface PolicyFeatureConfigurator
Parameters:
key - Key that identifies the endpoint scope
policyMap - must be non-null
Returns:
The list of features
Throws:
PolicyException - If retrieving the policy triggered an exception


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.