Interface FeatureListValidator


public interface FeatureListValidator
Validates a list of WebServiceFeature instances when they are added to the client or service binding.

WebServiceFeature classes may specify validator beans using FeatureListValidatorAnnotation.

Current behavior will allow runtime components to add features to the binding after initial validation; however, this behavior is discouraged and will not be supported in later releases of the reference implementation.

Since:
2.2.8
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validates feature list.
  • Method Details

    • validate

      void validate(WSFeatureList list)
      Validates feature list. Implementations should throw WebServiceException if the list of features is invalid. Implementations may add features to the list or make other changes; however, only validators belonging to features on the original list will be invoked.
      Parameters:
      list - feature list