uTools-Manuals/docs/java/javax/xml/ws/spi/WebServiceFeatureAnnotation.html

106 lines
5.7 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
javax.xml.ws.spi
</div>
<h2 class="title" title="Annotation Type WebServiceFeatureAnnotation">Annotation Type WebServiceFeatureAnnotation</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre><a href="../../../../java/lang/annotation/Target.html" title="annotation in java.lang.annotation">@Target</a>(<a href="../../../../java/lang/annotation/Target.html#value--">value</a>=<a href="../../../../java/lang/annotation/ElementType.html#ANNOTATION_TYPE">ANNOTATION_TYPE</a>)
<a href="../../../../java/lang/annotation/Retention.html" title="annotation in java.lang.annotation">@Retention</a>(<a href="../../../../java/lang/annotation/Retention.html#value--">value</a>=<a href="../../../../java/lang/annotation/RetentionPolicy.html#RUNTIME">RUNTIME</a>)
<a href="../../../../java/lang/annotation/Documented.html" title="annotation in java.lang.annotation">@Documented</a>
public @interface <span class="memberNameLabel">WebServiceFeatureAnnotation</span></pre>
<div class="block">
<span>用于将其他注释识别为<code>WebServiceFeature</code></span>
<p> <span>每个<code>WebServiceFeature</code>注释与此注解必须包含一个<code>enabled</code>类型的属性<code>boolean</code>用的默认值<code>true</code></span> </p>
<p> <span>JAX-WS定义了以下<code>WebServiceFeature</code>注解( <code>Addressing</code> <code>MTOM</code> <code>RespectBinding</code> ),然而,此实施方案可限定厂商特定的注释的其他特征。</span> </p>
<p> <span>用WebServiceFeatureAnnotation注释的<code>WebServiceFeatureAnnotation</code>必须具有相同的@Target <a href="../../../../javax/xml/ws/WebServiceRef.html" title="javax.xml.ws中的注释"><code>WebServiceRef</code></a>注释,因此如果需要,结果特征注释可以与<a href="../../../../javax/xml/ws/WebServiceRef.html" title="javax.xml.ws中的注释"><code>WebServiceRef</code></a>注释结合使用。</span> </p>
<p> <span>如果JAX-WS实现遇到注释<code>WebServiceFeatureAnnotation</code>不能识别/支持错误WebServiceFeatureAnnotation必须给出。</span> </p>
<p></p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
JAX-WS 2.1
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../../../javax/xml/ws/soap/Addressing.html" title="javax.xml.ws.soap中的注释"><code>Addressing</code></a> <a href="../../../../javax/xml/ws/soap/MTOM.html" title="javax.xml.ws.soap中的注释"><code>MTOM</code></a> <a href="../../../../javax/xml/ws/RespectBinding.html" title="javax.xml.ws中的注释"><code>RespectBinding</code></a></span>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="annotation.type.required.element.summary">
<!-- --> </a> <h3>Required Element Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Required Element Summary table, listing required elements, and an explanation">
<caption>
<span>Required Elements</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Required Element and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../java/lang/Class.html" title="class in java.lang"></a>&lt;? extends <a href="../../../../javax/xml/ws/WebServiceFeature.html" title="class in javax.xml.ws">WebServiceFeature</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/xml/ws/spi/WebServiceFeatureAnnotation.html#bean--">bean</a></span></code>
<div class="block">
<code>WebServiceFeature</code>注释相关联的
<code>WebServiceFeature</code> bean
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/xml/ws/spi/WebServiceFeatureAnnotation.html#id--">id</a></span></code>
<div class="block">
WebServiceFeature的唯一标识符。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="annotation.type.element.detail">
<!-- --> </a> <h3>Element Detail</h3> <a name="id--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>id</h4> <pre>public abstract <a href="../../../../java/lang/String.html" title="class in java.lang">String</a> id</pre>
<div class="block">
<span>WebServiceFeature的唯一标识符。</span>
<span>该标识符在JAX-WS的所有实现中必须是唯一的。</span>
</div> </li>
</ul> </li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="bean--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>bean</h4> <pre>public abstract <a href="../../../../java/lang/Class.html" title="class in java.lang"></a>&lt;? extends <a href="../../../../javax/xml/ws/WebServiceFeature.html" title="class in javax.xml.ws">WebServiceFeature</a>&gt; bean</pre>
<div class="block">
The
<code>WebServiceFeature</code> bean that is associated with the
<code>WebServiceFeature</code> annotation
</div> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>