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.
Method Summary |
Collection<WebServiceFeature> |
getFeatures(com.sun.xml.ws.policy.PolicyMapKey key,
com.sun.xml.ws.policy.PolicyMap policyMap)
A callback method that allows to retrieve policy related information from provided PolicyMap
and return a list of corresponding WebServiceFeatures. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressingFeatureConfigurator
public AddressingFeatureConfigurator()
- Creates a new instance of AddressingFeatureConfigurator
getFeatures
public Collection<WebServiceFeature> getFeatures(com.sun.xml.ws.policy.PolicyMapKey key,
com.sun.xml.ws.policy.PolicyMap policyMap)
throws com.sun.xml.ws.policy.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 interface PolicyFeatureConfigurator
- 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:
com.sun.xml.ws.policy.PolicyException
- If an error occurred
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.