com.sun.xml.ws.policy.jaxws.spi
Interface PolicyFeatureConfigurator

All Known Implementing Classes:
AddressingFeatureConfigurator, AtFeatureConfigurator, FastInfosetFeatureConfigurator, McFeatureConfigurator, MtomFeatureConfigurator, OptimalTransportFeatureConfigurator, RmFeatureConfigurator, SecurityFeatureConfigurator, SelectOptimalEncodingFeatureConfigurator, TCPTransportFeatureConfigurator, WsawAddressingFeatureConfigurator

public interface PolicyFeatureConfigurator

The service provider implementing this interface will be discovered and called to configure wsdl model based on PolicyMap bound to it.

Since:
JAX-WS 2.2
Author:
japod, Fabian Ritzmann, Rama.Pulavarthi@sun.com

Method Summary
 Collection<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

Collection<WebServiceFeature> getFeatures(PolicyMapKey key,
                                          PolicyMap policyMap)
                                          throws PolicyException
A callback method that allows to retrieve policy related information from provided PolicyMap and return a list of corresponding WebServiceFeatures.

Parameters:
key - Identifies the policy in the policy map
policyMap - 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


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