@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface WebServiceFeatureAnnotation
WebServiceFeature
.
Each WebServiceFeature
annotation annotated with
this annotation MUST contain an
enabled
property of type
boolean
with a default value of true
.
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 of WebServiceRef
annotation, so that the resulting
feature annotation can be used in conjunction with the WebServiceRef
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.
Addressing
,
MTOM
,
RespectBinding
Modifier and Type | Required Element | Description |
---|---|---|
Class<? extends WebServiceFeature> |
bean |
The
WebServiceFeature bean that is associated
with the WebServiceFeature annotation |
String |
id |
Unique identifier for the WebServiceFeature.
|
String id
Class<? extends WebServiceFeature> bean
WebServiceFeature
bean that is associated
with the WebServiceFeature
annotation Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps