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

153 lines
7.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 ServantActivatorOperations">Interface ServantActivatorOperations</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/PortableServer/ServantManagerOperations.html" title="org.omg.PortableServer中的接口">ServantManagerOperations</a></span>
</dd>
</dl>
<dl>
<dt>
All Known Subinterfaces:
</dt>
<dd>
<span><a href="../../../org/omg/PortableServer/ServantActivator.html" title="org.omg.PortableServer中的接口">ServantActivator</a></span>
</dd>
</dl>
<dl>
<dt>
所有已知实现类:
</dt>
<dd>
<span><a href="../../../org/omg/PortableServer/_ServantActivatorStub.html" title="org.omg.PortableServer中的类">_ServantActivatorStub</a> <a href="../../../org/omg/PortableServer/ServantActivatorPOA.html" title="org.omg.PortableServer中的类">ServantActivatorPOA</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">ServantActivatorOperations</span>
extends <a href="../../../org/omg/PortableServer/ServantManagerOperations.html" title="interface in org.omg.PortableServer">ServantManagerOperations</a></pre>
<div class="block">
当POA具有RETAIN策略时它使用ServantActivator的仆人管理器。
</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>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/ServantActivatorOperations.html#etherealize-byte:A-org.omg.PortableServer.POA-org.omg.PortableServer.Servant-boolean-boolean-">etherealize</a></span>(byte[] oid, <a href="../../../org/omg/PortableServer/POA.html" title="interface in org.omg.PortableServer">POA</a> adapter, <a href="../../../org/omg/PortableServer/Servant.html" title="class in org.omg.PortableServer">Servant</a> serv, boolean cleanup_in_progress, boolean remaining_activations)</code>
<div class="block">
假设POA具有USE_SERVANT_MANAGER和RETAIN策略则每当某个对象的servant被停用时都会调用此操作。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../../org/omg/PortableServer/Servant.html" title="class in org.omg.PortableServer">Servant</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/ServantActivatorOperations.html#incarnate-byte:A-org.omg.PortableServer.POA-">incarnate</a></span>(byte[] oid, <a href="../../../org/omg/PortableServer/POA.html" title="interface in org.omg.PortableServer">POA</a> adapter)</code>
<div class="block">
假设POA具有USE_SERVANT_MANAGER和RETAIN策略POA每当POA收到对当前不活动的对象的请求时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="incarnate-byte:A-org.omg.PortableServer.POA-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>incarnate</h4> <pre><a href="../../../org/omg/PortableServer/Servant.html" title="class in org.omg.PortableServer">Servant</a> incarnate(byte[] oid,
<a href="../../../org/omg/PortableServer/POA.html" title="interface in org.omg.PortableServer">POA</a> adapter)
throws <a href="../../../org/omg/PortableServer/ForwardRequest.html" title="class in org.omg.PortableServer">ForwardRequest</a></pre>
<div class="block">
假设POA具有USE_SERVANT_MANAGER和RETAIN策略POA每当POA收到对当前不活动的对象的请求时POA将调用此操作。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>oid</code> - 与请求上的对象相关联的对象标识符已创建。
</dd>
<dd>
<code>adapter</code> - 其中正在激活对象的POA的对象引用。
</dd>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
与oid对应的servant由用户提供的仆人经理创建或定位。
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/PortableServer/ForwardRequest.html" title="class in org.omg.PortableServer">ForwardRequest</a></code> - 向ORB指示它负责将当前请求和后续请求传递给异常的forward_reference成员中指出的对象。
</dd>
</dl> </li>
</ul> <a name="etherealize-byte:A-org.omg.PortableServer.POA-org.omg.PortableServer.Servant-boolean-boolean-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>etherealize</h4> <pre>void etherealize(byte[] oid,
<a href="../../../org/omg/PortableServer/POA.html" title="interface in org.omg.PortableServer">POA</a> adapter,
<a href="../../../org/omg/PortableServer/Servant.html" title="class in org.omg.PortableServer">Servant</a> serv,
boolean cleanup_in_progress,
boolean remaining_activations)</pre>
<div class="block">
假设POA具有USE_SERVANT_MANAGER和RETAIN策略则每当某个对象的servant被停用时都会调用此操作。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>oid</code> - 与被禁用对象关联的对象标识。
</dd>
<dd>
<code>adapter</code> - 对象引用的POA对象是活动的。
</dd>
<dd>
<code>serv</code> - 包含与被停用对象关联的servant的引用。
</dd>
<dd>
<span><code>cleanup_in_progress</code> - 如果TRUE表示使用etherealize_objects参数为TRUE调用destroy或deactivate。</span>
<span>FALSE表示由于其他原因称为“醚化”。</span>
</dd>
<dd>
<span><code>remaining_activations</code> - 表示仆人经理是否可以销毁仆人。</span>
<span>如果设置为TRUE则Servant Manager应该等到所有正在进行的调用完成。</span>
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>