com.sun.xml.internal.ws.policy.jaxws.spi.PolicyFeatureConfigurator Java Examples
The following examples show how to use
com.sun.xml.internal.ws.policy.jaxws.spi.PolicyFeatureConfigurator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PolicyUtil.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }
Example #2
Source File: PolicyUtil.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }
Example #3
Source File: PolicyUtil.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }
Example #4
Source File: PolicyUtil.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }
Example #5
Source File: PolicyUtil.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }
Example #6
Source File: PolicyUtil.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }
Example #7
Source File: PolicyUtil.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }
Example #8
Source File: PolicyUtil.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Returns the list of features that correspond to the policies in the policy * map for a give port * * @param policyMap The service policies * @param serviceName The service name * @param portName The service port name * @return List of features for the given port corresponding to the policies in the map */ public static Collection<WebServiceFeature> getPortScopedFeatures(PolicyMap policyMap, QName serviceName, QName portName) { LOGGER.entering(policyMap, serviceName, portName); Collection<WebServiceFeature> features = new ArrayList<WebServiceFeature>(); try { final PolicyMapKey key = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName); for (PolicyFeatureConfigurator configurator : CONFIGURATORS) { Collection<WebServiceFeature> additionalFeatures = configurator.getFeatures(key, policyMap); if (additionalFeatures != null) { features.addAll(additionalFeatures); } } } catch (PolicyException e) { throw new WebServiceException(e); } LOGGER.exiting(features); return features; }