Package javax.xml.ws.spi
Annotation Type WebServiceFeatureAnnotation
-
@Target(ANNOTATION_TYPE) @Retention(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 Description java.lang.Class<? extends WebServiceFeature>
bean
TheWebServiceFeature
bean that is associated with theWebServiceFeature
annotationjava.lang.String
id
Unique identifier for the WebServiceFeature.
-
-
-
-
bean
java.lang.Class<? extends WebServiceFeature> bean
TheWebServiceFeature
bean that is associated with theWebServiceFeature
annotation
-
-