/docs/api/java.transaction.xa/javax/transaction/xa/Xid.html" title="class or interface in javax.transaction.xa" class="external-link">Xid</a>&nbsp;xid)</span></div>
<div class="block">set a transaction context.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>xid</code> - transaction context.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getXid()">
<h3>getXid</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.or