-
@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Documented public @interface WebServiceFeatureAnnotation
Annotation used to identify other annotations as aWebServiceFeature
.Each
WebServiceFeature
annotation annotated with this annotation MUST contain anenabled
property of typeboolean
with a default value oftrue
.JAX-WS defines the following
WebServiceFeature
annotations (Addressing
,MTOM
,RespectBinding
), however, an implementation may define vendors specific annotations for other features.Annotations annotated with
WebServiceFeatureAnnotation
MUST have the same @Target ofWebServiceRef
annotation, so that the resulting feature annotation can be used in conjunction with theWebServiceRef
annotation if necessary.If a JAX-WS implementation encounters an annotation annotated with the
WebServiceFeatureAnnotation
that it does not recognize/support an error MUST be given.- Since:
- JAX-WS 2.1
- See Also:
Addressing
,MTOM
,RespectBinding
-
-
Required Element Summary
Required Elements Modifier and Type Required Element and Description Class<? extends WebServiceFeature>
bean
TheWebServiceFeature
bean that is associated with theWebServiceFeature
annotationString
id
Unique identifier for the WebServiceFeature.
-
-
-
Element Detail
-
id
public abstract String id
Unique identifier for the WebServiceFeature. This identifier MUST be unique across all implementations of JAX-WS.
-
bean
public abstract Class<? extends WebServiceFeature> bean
TheWebServiceFeature
bean that is associated with theWebServiceFeature
annotation
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/xml/ws/spi/webservicefeatureannotation.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.