Package com.sun.xml.ws.api
Class WebServiceFeatureFactory
- java.lang.Object
-
- com.sun.xml.ws.api.WebServiceFeatureFactory
-
public class WebServiceFeatureFactory extends Object
Factory methods to get web service features from the corresponding feature annotations- Author:
- Jitendra Kotamraju
-
-
Constructor Summary
Constructors Constructor Description WebServiceFeatureFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.xml.ws.WebServiceFeaturegetWebServiceFeature(Annotation ann)Returns a corresponding feature for a feature annotation(i.e which hasWebServiceFeatureAnnotationmeta annotation)static WSFeatureListgetWSFeatureList(Iterable<Annotation> ann)Returns a feature list for feature annotations(i.e which haveWebServiceFeatureAnnotationmeta annotation)
-
-
-
Method Detail
-
getWSFeatureList
public static WSFeatureList getWSFeatureList(Iterable<Annotation> ann)
Returns a feature list for feature annotations(i.e which haveWebServiceFeatureAnnotationmeta annotation)- Parameters:
ann- list of annotations(that can also have non-feature annotations)- Returns:
- non-null feature list object
-
getWebServiceFeature
public static javax.xml.ws.WebServiceFeature getWebServiceFeature(Annotation ann)
Returns a corresponding feature for a feature annotation(i.e which hasWebServiceFeatureAnnotationmeta 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
-
-