uTools-Manuals/docs/java/javax/naming/Referenceable.html

96 lines
4.0 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">
compact3
</div>
<div class="subTitle">
javax.naming
</div>
<h2 class="title" title="Interface Referenceable">Interface Referenceable</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre>public interface <span class="typeNameLabel">Referenceable</span></pre>
<div class="block">
<span>该接口由可以为其自身提供引用的对象实现。</span>
<p> <span>A Reference表示一种记录关于自身不直接绑定到命名系统的对象的地址信息的方式。</span> <span>这样的对象可以实现“可引用”接口,作为使用该对象确定其“引用”是什么的程序的一种方式。</span> <span>例如绑定对象时如果一个对象实现了可引用的接口那么可以在该对象上调用getReference来获取其引用用于绑定。</span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.3
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../javax/naming/Context.html#bind-javax.naming.Name-java.lang.Object-"><code>Context.bind(javax.naming.Name, java.lang.Object)</code></a> <a href="../../javax/naming/spi/NamingManager.html#getObjectInstance-java.lang.Object-javax.naming.Name-javax.naming.Context-java.util.Hashtable-"><code>NamingManager.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable&lt;?, ?&gt;)</code></a> <a href="../../javax/naming/Reference.html" title="javax.naming中的类"><code>Reference</code></a></span>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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><a href="../../javax/naming/Reference.html" title="class in javax.naming">Reference</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/naming/Referenceable.html#getReference--">getReference</a></span>()</code>
<div class="block">
检索此对象的引用。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getReference--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getReference</h4> <pre><a href="../../javax/naming/Reference.html" title="class in javax.naming">Reference</a> getReference()
throws <a href="../../javax/naming/NamingException.html" title="class in javax.naming">NamingException</a></pre>
<div class="block">
检索此对象的引用。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
这个对象的非空引用。
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../javax/naming/NamingException.html" title="class in javax.naming">NamingException</a></code> - If a naming exception was encountered while retrieving the reference.
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>