- 
 
 @Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface WebServiceFeatureAnnotation Annotation used to identify other annotations as aWebServiceFeature.Each WebServiceFeatureannotation annotated with this annotation MUST contain anenabledproperty of typebooleanwith a default value oftrue.JAX-WS defines the following WebServiceFeatureannotations (Addressing,MTOM,RespectBinding), however, an implementation may define vendors specific annotations for other features.Annotations annotated with WebServiceFeatureAnnotationMUST have the same @Target ofWebServiceRefannotation, so that the resulting feature annotation can be used in conjunction with theWebServiceRefannotation if necessary.If a JAX-WS implementation encounters an annotation annotated with the WebServiceFeatureAnnotationthat it does not recognize/support an error MUST be given.- Since:
- 1.6, JAX-WS 2.1
- See Also:
- Addressing,- MTOM,- RespectBinding
 
- 
- 
Required Element SummaryRequired Elements Modifier and Type Required Element Description Class<? extends WebServiceFeature>beanTheWebServiceFeaturebean that is associated with theWebServiceFeatureannotationStringidUnique identifier for the WebServiceFeature.
 
- 
- 
- 
Element Detail- 
idString id Unique identifier for the WebServiceFeature. This identifier MUST be unique across all implementations of JAX-WS.- Returns:
- unique identifier for the WebServiceFeature
 
 
- 
 - 
- 
beanClass<? extends WebServiceFeature> bean TheWebServiceFeaturebean that is associated with theWebServiceFeatureannotation- Returns:
- the WebServiceFeaturebean
 
 
- 
 
-