java.lang.Object
com.sun.xml.ws.api.WebServiceFeatureFactory
Factory methods to get web service features from the corresponding
feature annotations
- Author:
- Jitendra Kotamraju
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.xml.ws.WebServiceFeature
Returns a corresponding feature for a feature annotation(i.e which hasWebServiceFeatureAnnotation
meta annotation)static WSFeatureList
Returns a feature list for feature annotations(i.e which haveWebServiceFeatureAnnotation
meta annotation)
-
Method Details
-
getWSFeatureList
Returns a feature list for feature annotations(i.e which haveWebServiceFeatureAnnotation
meta annotation)- Parameters:
ann
- list of annotations(that can also have non-feature annotations)- Returns:
- non-null feature list object
-
getWebServiceFeature
Returns a corresponding feature for a feature annotation(i.e which hasWebServiceFeatureAnnotation
meta annotation)- Parameters:
ann
- any annotation, not required to be a feature annotation- Returns:
- corresponding feature for the annotation null, if the annotation is not a feature annotation
-