com.sun.xml.ws.api
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:
FeatureListValidatorAnnotation

Method Summary
 void validate(WSFeatureList list)
          Validates feature list.
 

Method Detail

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


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.