Interface WSFeatureList

All Superinterfaces:
Iterable<WebServiceFeature>
All Known Implementing Classes:
WebServiceFeatureList

public interface WSFeatureList extends Iterable<WebServiceFeature>
Read-only list of WebServiceFeatures.
Author:
Kohsuke Kawaguchi
  • Method Details

    • isEnabled

      boolean isEnabled(@NotNull Class<? extends WebServiceFeature> feature)
      Checks if a particular WebServiceFeature is enabled.
      Returns:
      true if enabled.
    • get

      @Nullable <F extends WebServiceFeature> F get(@NotNull Class<F> featureType)
      Gets a WebServiceFeature of the specific type.
      Parameters:
      featureType - The type of the feature to retrieve.
      Returns:
      If the feature is present and enabled, return a non-null instance. Otherwise null.
    • toArray

      @NotNull WebServiceFeature[] toArray()
      Obtains all the features in the array.
    • mergeFeatures

      void mergeFeatures(@NotNull WebServiceFeature[] features, boolean reportConflicts)
      Merges the extra features that are not already set on binding. i.e, if a feature is set already on binding through some other API the corresponding wsdlFeature is not set.
      Parameters:
      features - Web Service features that need to be merged with already configured features.
      reportConflicts - If true, checks if the feature setting in WSDL (wsdl extension or policy configuration) conflicts with feature setting in Deployed Service and logs warning if there are any conflicts.
    • mergeFeatures

      void mergeFeatures(@NotNull Iterable<WebServiceFeature> features, boolean reportConflicts)
      Merges the extra features that are not already set on binding. i.e, if a feature is set already on binding through some other API the corresponding wsdlFeature is not set.
      Parameters:
      features - Web Service features that need to be merged with already configured features.
      reportConflicts - If true, checks if the feature setting in WSDL (wsdl extension or policy configuration) conflicts with feature setting in Deployed Service and logs warning if there are any conflicts.