uTools-Manuals/docs/java/org/omg/PortableServer/CurrentOperations.html

128 lines
5.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">
org.omg.PortableServer
</div>
<h2 class="title" title="Interface CurrentOperations">Interface CurrentOperations</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Superinterfaces:
</dt>
<dd>
<span><a href="../../../org/omg/CORBA/CurrentOperations.html" title="在org.omg.CORBA中的接口">CurrentOperations</a></span>
</dd>
</dl>
<dl>
<dt>
All Known Subinterfaces:
</dt>
<dd>
<span><a href="../../../org/omg/PortableServer/Current.html" title="org.omg.PortableServer中的接口">Current</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">CurrentOperations</span>
extends <a href="../../../org/omg/CORBA/CurrentOperations.html" title="interface in org.omg.CORBA">CurrentOperations</a></pre>
<div class="block">
<span>从CORBA :: Current派生的PortableServer :: Current接口提供了访问方法被调用的对象的身份的方法实现。</span>
<span>提供当前界面以支持实现多个对象的仆人但可以在任何仆人的POA调度方法调用的上下文中使用。</span>
<span>为了提供位置透明度ORB需要在本地和远程调用操作的上下文中支持使用Current。</span>
<span>通过发出CORBA :: ORB :: resolve_initial_references“POACurrent”操作应用程序可以获得Current的一个实例。</span>
<span>此后它可以在由POA分派的方法的上下文中使用以获得标识该操作被调用的对象的POA和ObjectId。</span>
</div> </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>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentOperations.html#get_object_id--">get_object_id</a></span>()</code>
<div class="block">
返回ObjectId标识在其上下文中被调用的对象。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../../org/omg/PortableServer/POA.html" title="interface in org.omg.PortableServer">POA</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentOperations.html#get_POA--">get_POA</a></span>()</code>
<div class="block">
返回对实现在其上下文中调用的对象的POA的引用。
</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="get_POA--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>get_POA</h4> <pre><a href="../../../org/omg/PortableServer/POA.html" title="interface in org.omg.PortableServer">POA</a> get_POA()
throws <a href="../../../org/omg/PortableServer/CurrentPackage/NoContext.html" title="class in org.omg.PortableServer.CurrentPackage">NoContext</a></pre>
<div class="block">
返回对实现在其上下文中调用的对象的POA的引用。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
实现对象的poa
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code>NoContext</code> - 当操作在POA分派操作的上下文之外时引发
</dd>
</dl> </li>
</ul> <a name="get_object_id--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>get_object_id</h4> <pre>byte[] get_object_id()
throws <a href="../../../org/omg/PortableServer/CurrentPackage/NoContext.html" title="class in org.omg.PortableServer.CurrentPackage">NoContext</a></pre>
<div class="block">
返回ObjectId标识在其上下文中被调用的对象。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
对象的ObjectId
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code>NoContext</code> - 在POA调度操作的上下文之外调用操作时引发。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>