Annotation Interface WebServiceFeatureAnnotation
WebServiceFeature
.
Each WebServiceFeature
annotation annotated with
this annotation MUST contain an
enabled
property of type
boolean
with a default value of true
.
Jakarta XML Web Services 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 of WebServiceRef
annotation, so that the resulting
feature annotation can be used in conjunction with the WebServiceRef
annotation if necessary.
If a Jakarta XML Web Services implementation encounters an annotation annotated
with the WebServiceFeatureAnnotation
that it does not
recognize/support an error MUST be given.
- Since:
- 1.6, JAX-WS 2.1
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends WebServiceFeature>
TheWebServiceFeature
bean that is associated with theWebServiceFeature
annotationUnique identifier for the WebServiceFeature.
-
Element Details
-
id
String idUnique identifier for the WebServiceFeature. This identifier MUST be unique across all implementations of Jakarta XML Web Services.- Returns:
- unique identifier for the WebServiceFeature
-
bean
Class<? extends WebServiceFeature> beanTheWebServiceFeature
bean that is associated with theWebServiceFeature
annotation- Returns:
- the
WebServiceFeature
bean
-