Package com.sun.xml.ws.addressing.policy
Class AddressingFeatureConfigurator
- java.lang.Object
-
- com.sun.xml.ws.addressing.policy.AddressingFeatureConfigurator
-
- All Implemented Interfaces:
PolicyFeatureConfigurator
public class AddressingFeatureConfigurator extends Object implements PolicyFeatureConfigurator
This Policy extension configures the WSDLModel with AddressingFeature when Addressing assertions are present in the PolicyMap.- Author:
- japod, Rama Pulavarthi
-
-
Constructor Summary
Constructors Constructor Description AddressingFeatureConfigurator()
Creates a new instance of AddressingFeatureConfigurator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<javax.xml.ws.WebServiceFeature>
getFeatures(PolicyMapKey key, PolicyMap policyMap)
A callback method that allows to retrieve policy related information from provided PolicyMap and return a list of corresponding WebServiceFeatures.
-
-
-
Method Detail
-
getFeatures
public Collection<javax.xml.ws.WebServiceFeature> getFeatures(PolicyMapKey key, PolicyMap policyMap) throws PolicyException
Description copied from interface:PolicyFeatureConfigurator
A callback method that allows to retrieve policy related information from provided PolicyMap and return a list of corresponding WebServiceFeatures.- Specified by:
getFeatures
in interfacePolicyFeatureConfigurator
- Parameters:
key
- Identifies the policy in the policy mappolicyMap
- Provides policies as a source of information on proper configuration- Returns:
- A list of features that correspond to the policy identified by the policy map key. May be empty but not null.
- Throws:
PolicyException
- If an error occurred
-
-