@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Documented public @interface WebServiceFeatureAnnotation
WebServiceFeature
。
每个WebServiceFeature
注释与此注解必须包含一个enabled
类型的属性boolean
用的默认值true
。
JAX-WS定义了以下WebServiceFeature
注解( Addressing
, MTOM
, RespectBinding
),然而,此实施方案可限定厂商特定的注释的其他特征。
用WebServiceFeatureAnnotation注释的WebServiceFeatureAnnotation
必须具有相同的@Target( WebServiceRef
)注释,因此如果需要,结果特征注释可以与WebServiceRef
注释结合使用。
如果JAX-WS实现遇到注释,其WebServiceFeatureAnnotation
不能识别/支持错误WebServiceFeatureAnnotation必须给出。
Addressing
, MTOM
, RespectBinding
Modifier and Type | Required Element and Description |
---|---|
类<? extends WebServiceFeature> |
bean
与
WebServiceFeature 注释相关联的
WebServiceFeature bean
|
String |
id
WebServiceFeature的唯一标识符。
|
public abstract String id
public abstract 类<? 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, 2014, Oracle and/or its affiliates. All rights reserved.