188 lines
6.2 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">
compact2, compact3
</div>
<div class="subTitle">
javax.transaction.xa
</div>
<h2 class="title" title="Interface Xid">Interface Xid</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre>public interface <span class="typeNameLabel">Xid</span></pre>
<div class="block">
<span>Xid接口是X / Open事务标识符XID结构的Java映射。</span>
<span>此接口指定三个访问器方法来检索全局事务格式ID全局事务ID和分支限定符。</span>
<span>Xid接口由事务管理器和资源管理器使用。</span>
<span>该界面对于应用程序是不可见的。</span>
</div> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- --> </a> <h3>Field Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
<caption>
<span>Fields</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/transaction/xa/Xid.html#MAXBQUALSIZE">MAXBQUALSIZE</a></span></code>
<div class="block">
getBqual返回的最大字节数。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/transaction/xa/Xid.html#MAXGTRIDSIZE">MAXGTRIDSIZE</a></span></code>
<div class="block">
getGtrid返回的最大字节数。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/transaction/xa/Xid.html#getBranchQualifier--">getBranchQualifier</a></span>()</code>
<div class="block">
获取XID的事务分支标识符作为字节数组。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/transaction/xa/Xid.html#getFormatId--">getFormatId</a></span>()</code>
<div class="block">
获取XID的格式标识符部分。
</div> </td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/transaction/xa/Xid.html#getGlobalTransactionId--">getGlobalTransactionId</a></span>()</code>
<div class="block">
获取XID的全局事务标识符作为字节数组。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- --> </a> <h3>字段详细信息</h3> <a name="MAXGTRIDSIZE">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>MAXGTRIDSIZE</h4> <pre>static final int MAXGTRIDSIZE</pre>
<div class="block">
getGtrid返回的最大字节数。
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../constant-values.html#javax.transaction.xa.Xid.MAXGTRIDSIZE">Constant Field Values</a>
</dd>
</dl> </li>
</ul> <a name="MAXBQUALSIZE">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>MAXBQUALSIZE</h4> <pre>static final int MAXBQUALSIZE</pre>
<div class="block">
getBqual返回的最大字节数。
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../constant-values.html#javax.transaction.xa.Xid.MAXBQUALSIZE">Constant Field Values</a>
</dd>
</dl> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getFormatId--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getFormatId</h4> <pre>int getFormatId()</pre>
<div class="block">
获取XID的格式标识符部分。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<span>格式标识符</span>
<span>O表示OSI CCR格式。</span>
</dd>
</dl> </li>
</ul> <a name="getGlobalTransactionId--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getGlobalTransactionId</h4> <pre>byte[] getGlobalTransactionId()</pre>
<div class="block">
获取XID的全局事务标识符作为字节数组。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
全局交易标识符。
</dd>
</dl> </li>
</ul> <a name="getBranchQualifier--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getBranchQualifier</h4> <pre>byte[] getBranchQualifier()</pre>
<div class="block">
获取XID的事务分支标识符作为字节数组。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
全局交易标识符。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>