mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-07-10 03:42:43 +08:00
1954 lines
90 KiB
HTML
1954 lines
90 KiB
HTML
<div class="header">
|
||
<h1 class="title" title="Package">Package org.omg.CORBA</h1>
|
||
<div class="docSummary">
|
||
<div class="block">
|
||
提供OMG CORBA API与Java
|
||
<sup><font size="-2">TM</font></sup>编程语言的映射,包括ORB类,该类
|
||
<tt>实现</tt>为程序员可以将其用作全功能对象请求代理(ORB)。
|
||
</div>
|
||
</div>
|
||
<p>See: <a href="#package.description">描述</a></p>
|
||
</div><div class="contentContainer">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Interface Summary table, listing interfaces, and an explanation">
|
||
<caption>
|
||
<span>接口摘要</span>
|
||
<span class="tabEnd"> </span>
|
||
</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th class="colFirst" scope="col">接口</th>
|
||
<th class="colLast" scope="col">描述</th>
|
||
</tr>
|
||
</tbody>
|
||
<tbody>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ARG_IN.html" title="interface in org.omg.CORBA">ARG_IN</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
表示调用的“input”参数,这意味着参数正在从客户机传递到服务器。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ARG_INOUT.html" title="interface in org.omg.CORBA">ARG_INOUT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
在调用中表示用于输入和输出的参数,这意味着该参数是从客户端传递到服务器,然后从服务器传回到客户端。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ARG_OUT.html" title="interface in org.omg.CORBA">ARG_OUT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一个常量,表示一个调用的“输出”参数,这意味着该参数正在从服务器传递给客户端。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_POLICY.html" title="interface in org.omg.CORBA">BAD_POLICY</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
A
|
||
<tt>PolicyErrorCode</tt>将填写
|
||
<tt>PolicyError</tt>例外。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_POLICY_TYPE.html" title="interface in org.omg.CORBA">BAD_POLICY_TYPE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
A
|
||
<tt>PolicyErrorCode</tt>将填写
|
||
<tt>PolicyError</tt>例外。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_POLICY_VALUE.html" title="interface in org.omg.CORBA">BAD_POLICY_VALUE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
包含用于指示对ORB类中定义的
|
||
<code>create_policy</code>方法的调用中有效策略类型不正确的策略值的值。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CTX_RESTRICT_SCOPE.html" title="interface in org.omg.CORBA">CTX_RESTRICT_SCOPE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一个标志,可以用作方法
|
||
<code>Context.get_values</code>的第二个
|
||
<code>Context.get_values</code>来限制搜索范围。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Current.html" title="interface in org.omg.CORBA">Current</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
从Current接口派生的
|
||
<tt>接口</tt>使得ORB和CORBA服务可以访问与运行线程相关联的信息(上下文)。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CurrentOperations.html" title="interface in org.omg.CORBA">CurrentOperations</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
界面为
|
||
<tt>Current</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CustomMarshal.html" title="interface in org.omg.CORBA">CustomMarshal</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
意图由ORB使用的抽象值类型,而不是用户。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DataInputStream.html" title="interface in org.omg.CORBA">DataInputStream</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
定义用于从输入流读取原始数据类型的方法,以解除对自定义值类型的调整。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DataOutputStream.html" title="interface in org.omg.CORBA">DataOutputStream</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
定义用于将原始数据类型写入到编组自定义值类型的输出流中的方法。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DomainManager.html" title="interface in org.omg.CORBA">DomainManager</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
提供建立和导航关系到上级和下级域以及创建和访问策略的机制。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DomainManagerOperations.html" title="interface in org.omg.CORBA">DomainManagerOperations</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
提供
|
||
<tt>DomainManager</tt>访问策略的方法。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynAny.html" title="interface in org.omg.CORBA">DynAny</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">改用新的<a href="../DynamicAny/DynAny.html">DynAny</a></span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynArray.html" title="interface in org.omg.CORBA">DynArray</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">使用新的<a href="../DynamicAny/DynArray.html">DynArray</a>代替</span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynEnum.html" title="interface in org.omg.CORBA">DynEnum</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">改用新的<a href="../DynamicAny/DynEnum.html">DynEnum</a></span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynFixed.html" title="interface in org.omg.CORBA">DynFixed</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">改用新的<a href="../DynamicAny/DynFixed.html">DynFixed</a></span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynSequence.html" title="interface in org.omg.CORBA">DynSequence</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">改用新的<a href="../DynamicAny/DynSequence.html">DynSequence</a></span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynStruct.html" title="interface in org.omg.CORBA">DynStruct</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">改用新的<a href="../DynamicAny/DynStruct.html">DynStruct</a></span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynUnion.html" title="interface in org.omg.CORBA">DynUnion</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">改用新的<a href="../DynamicAny/DynUnion.html">DynUnion</a></span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynValue.html" title="interface in org.omg.CORBA">DynValue</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">改用新的<a href="../DynamicAny/DynValue.html">DynValue</a></span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IDLType.html" title="interface in org.omg.CORBA">IDLType</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
由代表OMG IDL类型的所有Interface Repository(IR)对象继承的抽象接口。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IDLTypeOperations.html" title="interface in org.omg.CORBA">IDLTypeOperations</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
该接口必须由所有IDLType对象实现。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IRObject.html" title="interface in org.omg.CORBA">IRObject</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
IRObject IDL接口代表所有其他接口存储库接口派生的最通用接口,即使是Repository本身。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IRObjectOperations.html" title="interface in org.omg.CORBA">IRObjectOperations</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
这是IRObject映射的操作
|
||
<tt>界面</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
CORBA对象引用的定义。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/OMGVMCID.html" title="interface in org.omg.CORBA">OMGVMCID</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
为OMG保留的供应商次要代码ID。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Policy.html" title="interface in org.omg.CORBA">Policy</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
从Policy接口派生的
|
||
<tt>接口</tt>允许ORB或CORBA服务访问影响其操作的某些选择。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyOperations.html" title="interface in org.omg.CORBA">PolicyOperations</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
提供
|
||
<code>Policy</code>对象的操作。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PRIVATE_MEMBER.html" title="interface in org.omg.CORBA">PRIVATE_MEMBER</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
在
|
||
<code>ValueMember</code>类中定义一个私有成员的
|
||
<code>ValueMember</code> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PUBLIC_MEMBER.html" title="interface in org.omg.CORBA">PUBLIC_MEMBER</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
在
|
||
<code>ValueMember</code>课程中定义公共成员的
|
||
<code>ValueMember</code> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UNSUPPORTED_POLICY.html" title="interface in org.omg.CORBA">UNSUPPORTED_POLICY</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
其中
|
||
<tt>PolicyErrorCode个</tt> S的将被填补,如果被请求
|
||
<tt>Policy</tt>的了解由ORB认为是有效的,但目前还不支持。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.html" title="interface in org.omg.CORBA">UNSUPPORTED_POLICY_VALUE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
如果该值要求为
|
||
<tt>Policy</tt>这将是填补了
|
||
<tt>PolicyErrorCode</tt>是该类型的有效范围内的有效类型和,但目前还不支持此有效值。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/VM_ABSTRACT.html" title="interface in org.omg.CORBA">VM_ABSTRACT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
定义用于在类型代码中表示抽象接口的代码。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/VM_CUSTOM.html" title="interface in org.omg.CORBA">VM_CUSTOM</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
定义用于在类型代码中表示自定义编组值类型的代码。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/VM_NONE.html" title="interface in org.omg.CORBA">VM_NONE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
定义用于表示类型代码中值类型值的代码。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/VM_TRUNCATABLE.html" title="interface in org.omg.CORBA">VM_TRUNCATABLE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
定义用于在类型代码中表示可截断值类型的代码。
|
||
</div> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table> </li>
|
||
<li class="blockList">
|
||
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Class Summary table, listing classes, and an explanation">
|
||
<caption>
|
||
<span>类摘要</span>
|
||
<span class="tabEnd"> </span>
|
||
</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th class="colFirst" scope="col">类</th>
|
||
<th class="colLast" scope="col">描述</th>
|
||
</tr>
|
||
</tbody>
|
||
<tbody>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/_IDLTypeStub.html" title="class in org.omg.CORBA">_IDLTypeStub</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
存根
|
||
<tt>IDLType</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/_PolicyStub.html" title="class in org.omg.CORBA">_PolicyStub</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
存根
|
||
<tt>Policy</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
作为可以在IDL或任何IDL原语类型中描述的任何数据的容器。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/AnyHolder.html" title="class in org.omg.CORBA">AnyHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Any</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/AnySeqHelper.html" title="class in org.omg.CORBA">AnySeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>AnySeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/AnySeqHolder.html" title="class in org.omg.CORBA">AnySeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>AnySeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BooleanHolder.html" title="class in org.omg.CORBA">BooleanHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Boolean</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BooleanSeqHelper.html" title="class in org.omg.CORBA">BooleanSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>BooleanSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BooleanSeqHolder.html" title="class in org.omg.CORBA">BooleanSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>BooleanSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ByteHolder.html" title="class in org.omg.CORBA">ByteHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Byte</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CharHolder.html" title="class in org.omg.CORBA">CharHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Char</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CharSeqHelper.html" title="class in org.omg.CORBA">CharSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>CharSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CharSeqHolder.html" title="class in org.omg.CORBA">CharSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>CharSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
表示一个方法是否已结束运行时的对象
|
||
<code>SystemException</code>被抛出。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CompletionStatusHelper.html" title="class in org.omg.CORBA">CompletionStatusHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>CompletionStatus</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Context.html" title="class in org.omg.CORBA">Context</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
在
|
||
<code>Request</code>操作中使用的对象,用于指定上下文对象,在上下文对象中,上下文字符串必须在与请求调用一起发送之前解决。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ContextList.html" title="class in org.omg.CORBA">ContextList</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一个对象,其中包含代表属性名称的
|
||
<code>String</code>对象的可修改列表。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CurrentHelper.html" title="class in org.omg.CORBA">CurrentHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>Current</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CurrentHolder.html" title="class in org.omg.CORBA">CurrentHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Current</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DefinitionKind.html" title="class in org.omg.CORBA">DefinitionKind</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
提供用于标识Interface Repository对象类型的常量的类。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DefinitionKindHelper.html" title="class in org.omg.CORBA">DefinitionKindHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>DefinitionKind</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DoubleHolder.html" title="class in org.omg.CORBA">DoubleHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Double</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DoubleSeqHelper.html" title="class in org.omg.CORBA">DoubleSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>DoubleSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DoubleSeqHolder.html" title="class in org.omg.CORBA">DoubleSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>DoubleSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DynamicImplementation.html" title="class in org.omg.CORBA">DynamicImplementation</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">org.omg.CORBA.DynamicImplementation</span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Environment.html" title="class in org.omg.CORBA">Environment</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
即在用于异常的容器(座)
|
||
<code>Request</code>操作,使异常可用于客户端。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ExceptionList.html" title="class in org.omg.CORBA">ExceptionList</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
用于
|
||
<code>Request</code>操作中的一个对象来描述方法可以抛出的异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/FieldNameHelper.html" title="class in org.omg.CORBA">FieldNameHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>FieldName</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/FixedHolder.html" title="class in org.omg.CORBA">FixedHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Fixed</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/FloatHolder.html" title="class in org.omg.CORBA">FloatHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Float</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/FloatSeqHelper.html" title="class in org.omg.CORBA">FloatSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>FloatSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/FloatSeqHolder.html" title="class in org.omg.CORBA">FloatSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>FloatSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IdentifierHelper.html" title="class in org.omg.CORBA">IdentifierHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>Identifier</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IDLTypeHelper.html" title="class in org.omg.CORBA">IDLTypeHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>IDLType</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IntHolder.html" title="class in org.omg.CORBA">IntHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Int</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/LocalObject.html" title="class in org.omg.CORBA">LocalObject</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
用作在Java语言映射中实现本地IDL接口的基类。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/LongHolder.html" title="class in org.omg.CORBA">LongHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Long</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/LongLongSeqHelper.html" title="class in org.omg.CORBA">LongLongSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>LongLongSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/LongLongSeqHolder.html" title="class in org.omg.CORBA">LongLongSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>LongLongSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/LongSeqHelper.html" title="class in org.omg.CORBA">LongSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>LongSeqHelper</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/LongSeqHolder.html" title="class in org.omg.CORBA">LongSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>LongSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NamedValue.html" title="class in org.omg.CORBA">NamedValue</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
DII和DSI中使用的对象来描述参数和返回值。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NameValuePair.html" title="class in org.omg.CORBA">NameValuePair</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
将名称与作为IDL结构体的属性的值相关联,并在
|
||
<tt>DynStruct</tt> API中使用。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NameValuePairHelper.html" title="class in org.omg.CORBA">NameValuePairHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>NameValuePair</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NVList.html" title="class in org.omg.CORBA">NVList</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
包含NamedValue
|
||
<code>NamedValue</code>对象的可修改列表。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ObjectHelper.html" title="class in org.omg.CORBA">ObjectHelper</a></td>
|
||
<td class="colLast"> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ObjectHolder.html" title="class in org.omg.CORBA">ObjectHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Object</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/OctetSeqHelper.html" title="class in org.omg.CORBA">OctetSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>OctetSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/OctetSeqHolder.html" title="class in org.omg.CORBA">OctetSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>OctetSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ORB.html" title="class in org.omg.CORBA">ORB</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一个为CORBA对象请求代理功能提供API的类。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ParameterMode.html" title="class in org.omg.CORBA">ParameterMode</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
枚举参数的参数模式。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ParameterModeHelper.html" title="class in org.omg.CORBA">ParameterModeHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
枚举参数的参数模式。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ParameterModeHolder.html" title="class in org.omg.CORBA">ParameterModeHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
枚举参数的参数模式。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyErrorCodeHelper.html" title="class in org.omg.CORBA">PolicyErrorCodeHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
封装“策略”可能无效的原因。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyErrorHelper.html" title="class in org.omg.CORBA">PolicyErrorHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
抛出指示参数值传递给
|
||
<code>ORB.create_policy</code>操作的问题。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyErrorHolder.html" title="class in org.omg.CORBA">PolicyErrorHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
抛出指示参数值传递给
|
||
<code>ORB.create_policy</code>操作的问题。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyHelper.html" title="class in org.omg.CORBA">PolicyHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>Policy</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyHolder.html" title="class in org.omg.CORBA">PolicyHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Policy</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyListHelper.html" title="class in org.omg.CORBA">PolicyListHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>PolicyList</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyListHolder.html" title="class in org.omg.CORBA">PolicyListHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>PolicyList</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyTypeHelper.html" title="class in org.omg.CORBA">PolicyTypeHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>PolicyType</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Principal.html" title="class in org.omg.CORBA">Principal</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">被CORBA弃用2.2。</span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PrincipalHolder.html" title="class in org.omg.CORBA">PrincipalHolder</a></td>
|
||
<td class="colLast">Deprecated
|
||
<div class="block">
|
||
<span class="deprecationComment">被CORBA弃用2.2。</span>
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/RepositoryIdHelper.html" title="class in org.omg.CORBA">RepositoryIdHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>RepositoryId</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Request.html" title="class in org.omg.CORBA">Request</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
包含调用方法所需信息的对象。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ServerRequest.html" title="class in org.omg.CORBA">ServerRequest</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
捕获动态骨架接口(DSI)请求的显式状态的对象。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ServiceDetail.html" title="class in org.omg.CORBA">ServiceDetail</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
表示ORB服务的对象:其
|
||
<code>service_detail_type</code>字段包含ORB服务的类型,其
|
||
<code>service_detail</code>字段包含ORB服务的描述。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ServiceDetailHelper.html" title="class in org.omg.CORBA">ServiceDetailHelper</a></td>
|
||
<td class="colLast"> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ServiceInformation.html" title="class in org.omg.CORBA">ServiceInformation</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
CORBA模块中的IDL结构,用于存储有关ORB实现中可用的CORBA服务的信息,并从
|
||
<tt>ORB.get_service_information</tt>方法获取。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ServiceInformationHelper.html" title="class in org.omg.CORBA">ServiceInformationHelper</a></td>
|
||
<td class="colLast"> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ServiceInformationHolder.html" title="class in org.omg.CORBA">ServiceInformationHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>ServiceInformation</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/SetOverrideType.html" title="class in org.omg.CORBA">SetOverrideType</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
CORBA
|
||
<code>枚举</code>标记
|
||
<code>SET_OVERRIDE</code>和
|
||
<code>ADD_OVERRIDE</code> ,指出策略是否应替代现有的
|
||
<code>Object</code>或添加到它们。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/SetOverrideTypeHelper.html" title="class in org.omg.CORBA">SetOverrideTypeHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>SetOverrideType</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ShortHolder.html" title="class in org.omg.CORBA">ShortHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>Short</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ShortSeqHelper.html" title="class in org.omg.CORBA">ShortSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>ShortSeqHelper</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ShortSeqHolder.html" title="class in org.omg.CORBA">ShortSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>ShortSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/StringHolder.html" title="class in org.omg.CORBA">StringHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>String</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/StringSeqHelper.html" title="class in org.omg.CORBA">StringSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一串字符串
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/StringSeqHolder.html" title="class in org.omg.CORBA">StringSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一串字符串
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/StringValueHelper.html" title="class in org.omg.CORBA">StringValueHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>StringValue</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/StructMember.html" title="class in org.omg.CORBA">StructMember</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
描述了一种IDL的成员
|
||
<code>struct</code>在接口库,包括名称
|
||
<code>struct</code>构件,所述的类型
|
||
<code>struct</code>构件,和表示的IDL类型的typedef
|
||
<code>struct</code>构件描述的
|
||
<code>struct</code>成员对象。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/StructMemberHelper.html" title="class in org.omg.CORBA">StructMemberHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>StructMember</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TCKind.html" title="class in org.omg.CORBA">TCKind</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
IDL枚举
|
||
<code>TCKind</code>的Java映射,它指定了一个
|
||
<code>TypeCode</code>对象的种类。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
有关特定CORBA数据类型的信息的容器。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TypeCodeHolder.html" title="class in org.omg.CORBA">TypeCodeHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>TypeCode</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ULongLongSeqHelper.html" title="class in org.omg.CORBA">ULongLongSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>ULongLongSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ULongLongSeqHolder.html" title="class in org.omg.CORBA">ULongLongSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>ULongLongSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ULongSeqHelper.html" title="class in org.omg.CORBA">ULongSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>ULongSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ULongSeqHolder.html" title="class in org.omg.CORBA">ULongSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>ULongSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UnionMember.html" title="class in org.omg.CORBA">UnionMember</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
IDL联盟成员的Interface Repository中的描述。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UnionMemberHelper.html" title="class in org.omg.CORBA">UnionMemberHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>UnionMember</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UnknownUserExceptionHelper.html" title="class in org.omg.CORBA">UnknownUserExceptionHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>UnknownUserException</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UnknownUserExceptionHolder.html" title="class in org.omg.CORBA">UnknownUserExceptionHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>UnknownUserException</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UShortSeqHelper.html" title="class in org.omg.CORBA">UShortSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>UShortSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UShortSeqHolder.html" title="class in org.omg.CORBA">UShortSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>UShortSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ValueBaseHelper.html" title="class in org.omg.CORBA">ValueBaseHelper</a></td>
|
||
<td class="colLast"> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ValueBaseHolder.html" title="class in org.omg.CORBA">ValueBaseHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>ValueBase</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ValueMember.html" title="class in org.omg.CORBA">ValueMember</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
<code>value</code>对象的成员的
|
||
<code>value</code>描述。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ValueMemberHelper.html" title="class in org.omg.CORBA">ValueMemberHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>ValueMember</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/VersionSpecHelper.html" title="class in org.omg.CORBA">VersionSpecHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>VersionSpec</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/VisibilityHelper.html" title="class in org.omg.CORBA">VisibilityHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手为
|
||
<tt>Visibility</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WCharSeqHelper.html" title="class in org.omg.CORBA">WCharSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>WCharSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WCharSeqHolder.html" title="class in org.omg.CORBA">WCharSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>WCharSeq</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WrongTransactionHelper.html" title="class in org.omg.CORBA">WrongTransactionHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
助手
|
||
<tt>WrongTransaction</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WrongTransactionHolder.html" title="class in org.omg.CORBA">WrongTransactionHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
持有人为
|
||
<tt>WrongTransaction</tt> 。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WStringSeqHelper.html" title="class in org.omg.CORBA">WStringSeqHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一系列WStrings
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WStringSeqHolder.html" title="class in org.omg.CORBA">WStringSeqHolder</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
一系列WStrings
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WStringValueHelper.html" title="class in org.omg.CORBA">WStringValueHelper</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
org / omg / CORBA / WStringValueHelper.java由IDL到Java编译器(便携式)生成,从orb.idl版本“3.0”1999年5月31日22:27:30 GMT + 00:00类定义被修改,以符合以下OMG规范:ORB芯由CORBA 2.3.1所定义(
|
||
<a href="http://cgi.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a> )IDL / Java语言映射中定义
|
||
<a href="http://cgi.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
|
||
</div> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table> </li>
|
||
<li class="blockList">
|
||
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Exception Summary table, listing exceptions, and an explanation">
|
||
<caption>
|
||
<span>异常摘要</span>
|
||
<span class="tabEnd"> </span>
|
||
</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th class="colFirst" scope="col">异常</th>
|
||
<th class="colLast" scope="col">描述</th>
|
||
</tr>
|
||
</tbody>
|
||
<tbody>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ACTIVITY_COMPLETED.html" title="class in org.omg.CORBA">ACTIVITY_COMPLETED</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
可以在任何访问Activity上下文的方法上引发
|
||
<code>ACTIVITY_COMPLETED</code>系统异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/ACTIVITY_REQUIRED.html" title="class in org.omg.CORBA">ACTIVITY_REQUIRED</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
<code>ACTIVITY_REQUIRED</code>系统异常可能会引发任何需要活动上下文的方法。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_CONTEXT.html" title="class in org.omg.CORBA">BAD_CONTEXT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当客户端调用操作时抛出异常,但传递的上下文不包含操作所需的上下文值。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_INV_ORDER.html" title="class in org.omg.CORBA">BAD_INV_ORDER</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
这个异常表示调用者以错误的顺序调用了操作。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当对象引用表示现有对象但该对象不支持被调用的操作时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_PARAM.html" title="class in org.omg.CORBA">BAD_PARAM</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
传递给调用的参数超出范围或以其他方式被视为非法时引发的异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_QOS.html" title="class in org.omg.CORBA">BAD_QOS</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
所述
|
||
<code>BAD_QOS</code>只要对象无法支持具有与之相关联的服务质量语义的调用参数所需的服务质量异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/BAD_TYPECODE.html" title="class in org.omg.CORBA">BAD_TYPECODE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当ORB遇到格式错误的代码时(例如,具有无效
|
||
<tt>TCKind</tt>值的类型代码),抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/Bounds.html" title="class in org.omg.CORBA">Bounds</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当参数不在方法尝试访问的对象的合法范围内时抛出用户异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/CODESET_INCOMPATIBLE.html" title="class in org.omg.CORBA">CODESET_INCOMPATIBLE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
无论客户端和服务器本机代码集之间无法进行有意义的通信,都会引发此异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/COMM_FAILURE.html" title="class in org.omg.CORBA">COMM_FAILURE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
在客户端发送请求之后,服务器的回复已经返回到客户端之前,在进行中的通信丢失时发生异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/DATA_CONVERSION.html" title="class in org.omg.CORBA">DATA_CONVERSION</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
如果ORB无法将封送的数据的表示形式转换为其本机表示形式,反之亦然,则会引发此异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/FREE_MEM.html" title="class in org.omg.CORBA">FREE_MEM</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
ORB在尝试释放动态内存时失败,例如由于堆损坏或内存段被锁定而导致异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/IMP_LIMIT.html" title="class in org.omg.CORBA">IMP_LIMIT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
此异常表示在ORB运行时间中超出了实施限制。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INITIALIZE.html" title="class in org.omg.CORBA">INITIALIZE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当ORB在其初始化期间遇到故障(例如无法获取网络资源或检测到配置错误)时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INTERNAL.html" title="class in org.omg.CORBA">INTERNAL</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
此异常指示ORB中的内部故障,例如,如果ORB检测到其内部数据结构的损坏。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INTF_REPOS.html" title="class in org.omg.CORBA">INTF_REPOS</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当ORB无法到达接口存储库或检测到与接口存储库相关的某些其他故障时引发异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INV_FLAG.html" title="class in org.omg.CORBA">INV_FLAG</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当一个无效标志传递给一个操作时(例如创建一个DII请求)时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INV_IDENT.html" title="class in org.omg.CORBA">INV_IDENT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
此异常表示IDL标识符在语法上无效。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INV_OBJREF.html" title="class in org.omg.CORBA">INV_OBJREF</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
此异常表示对象引用在内部格式错误。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INV_POLICY.html" title="class in org.omg.CORBA">INV_POLICY</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
由于
|
||
<tt>Policy</tt>覆盖适用于特定调用的不兼容性,因此无法进行调用时抛出标准异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INVALID_ACTIVITY.html" title="class in org.omg.CORBA">INVALID_ACTIVITY</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
如果事务或活动在与其挂起的环境不同的上下文中恢复,则可能会在“活动”或“事务服务”恢复方法上引发
|
||
<code>INVALID_ACTIVITY</code>系统异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/INVALID_TRANSACTION.html" title="class in org.omg.CORBA">INVALID_TRANSACTION</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当请求携带无效的事务上下文时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
来自网络的请求或回复在结构上是无效的。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NO_IMPLEMENT.html" title="class in org.omg.CORBA">NO_IMPLEMENT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
此异常表示即使已调用的操作存在(它具有IDL定义),也不存在该操作的实现。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NO_MEMORY.html" title="class in org.omg.CORBA">NO_MEMORY</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
ORB运行时内存不足时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NO_PERMISSION.html" title="class in org.omg.CORBA">NO_PERMISSION</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
调用失败时引发异常,因为调用者的权限不足。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NO_RESOURCES.html" title="class in org.omg.CORBA">NO_RESOURCES</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当ORB遇到一些一般资源限制时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/NO_RESPONSE.html" title="class in org.omg.CORBA">NO_RESPONSE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
如果客户端尝试检索延迟同步调用的结果,但该请求的响应尚不可用,则会引发此异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/OBJ_ADAPTER.html" title="class in org.omg.CORBA">OBJ_ADAPTER</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
此异常通常表示管理不匹配,例如,服务器可能尝试以已经在使用的名称或存储库未知的名称向实现库注册自身。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/OBJECT_NOT_EXIST.html" title="class in org.omg.CORBA">OBJECT_NOT_EXIST</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
每当执行对被删除对象的调用时,就会引发异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PERSIST_STORE.html" title="class in org.omg.CORBA">PERSIST_STORE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
此异常表示持续存储故障,例如,无法建立数据库连接或数据库损坏。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/PolicyError.html" title="class in org.omg.CORBA">PolicyError</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
发生策略错误时抛出的用户异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/REBIND.html" title="class in org.omg.CORBA">REBIND</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
<code>REBIND</code>在当前有效的RebindPolicy值为NO_REBIND或NO_RECONNECT且对绑定对象引用的调用结果导致状态为OBJECT_FORWARD的LocateReply消息或状态为LOCATION_FORWARD的Reply消息时引发。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/SystemException.html" title="class in org.omg.CORBA">SystemException</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
所有CORBA标准异常的根类。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TIMEOUT.html" title="class in org.omg.CORBA">TIMEOUT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
<code>TIMEOUT</code>在没有交付和已经超过指定的生存时间段时被提出。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TRANSACTION_MODE.html" title="class in org.omg.CORBA">TRANSACTION_MODE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
如果检测到IOR中的InvocationPolicy与所选择的调用路径(即,直接或路由调用)之间的不匹配,则客户端ORB会抛出CORBA
|
||
<code>TRANSACTION_MODE</code>异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TRANSACTION_REQUIRED.html" title="class in org.omg.CORBA">TRANSACTION_REQUIRED</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
异常表示请求携带一个空事务上下文,但需要一个活动事务。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TRANSACTION_ROLLEDBACK.html" title="class in org.omg.CORBA">TRANSACTION_ROLLEDBACK</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
与请求相关联的事务已经回滚或标记回滚时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TRANSACTION_UNAVAILABLE.html" title="class in org.omg.CORBA">TRANSACTION_UNAVAILABLE</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
由于ORB与
|
||
<code>TRANSACTION_UNAVAILABLE</code>服务的连接异常终止,所以CORBA
|
||
<code>TRANSACTION_UNAVAILABLE</code>异常由于无法处理事务服务上下文而被ORB抛出。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/TRANSIENT.html" title="class in org.omg.CORBA">TRANSIENT</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
当ORB尝试到达对象并失败时抛出异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UNKNOWN.html" title="class in org.omg.CORBA">UNKNOWN</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
如果操作实现抛出非CORBA异常(例如特定于实现的编程语言的异常),或者操作引发不在操作的引用表达式中出现的用户异常,则会引发此异常。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UnknownUserException.html" title="class in org.omg.CORBA">UnknownUserException</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
包含服务器返回的用户异常的类。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/UserException.html" title="class in org.omg.CORBA">UserException</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
CORBA IDL定义用户异常的根类。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><a href="../../../org/omg/CORBA/WrongTransaction.html" title="class in org.omg.CORBA">WrongTransaction</a></td>
|
||
<td class="colLast">
|
||
<div class="block">
|
||
CORBA
|
||
<code>WrongTransaction</code>用户定义的异常。
|
||
</div> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table> </li>
|
||
</ul>
|
||
<a name="package.description">
|
||
<!-- --> </a>
|
||
<h2 title="Package org.omg.CORBA Description">Package org.omg.CORBA Description</h2>
|
||
<div class="block">
|
||
<span>提供OMG CORBA API与Java <sup><font size="-2">TM</font></sup>编程语言的映射,包括ORB类,该类<tt>实现</tt>为程序员可以将其用作全功能的对象请求代理(ORB)。</span>
|
||
<p> <span>有关官方CORBA规范的受支持部分的精确列表,Java TM平台,标准版6符合,请参阅<a href="doc-files/compliance.html"><em>Official Specifications for CORBA support in Java[TM] SE 6</em></a> 。</span> </p>
|
||
<h1> <span>一般信息</span> </h1>
|
||
<span>本节中的信息是与编辑界面定义语言(IDL)文件并使用ORB编写客户端和服务器的人相关的信息。</span>
|
||
<p> <span>本节中描述的类和接口可以分为四个组: <tt>ORB classes</tt> ,异常, <tt>Helper</tt>类和<tt>Holder</tt>类。</span> </p>
|
||
<h2> <span><tt>ORB</tt>课</span> </h2>
|
||
<p> <span>ORB在客户端和方法在服务器上的实现之间处理(或经纪人)方法调用。</span> <span>因为客户端和服务器可能在网络上的任何地方,并且由于调用和实现可能用不同的编程语言编写,所以ORB在后台进行大量的工作来完成此通信。</span> </p>
|
||
<p> <span>ORB的大部分功能对于用户来说都是完全透明的,并且<tt>CORBA</tt>包的主要部分由ORB幕后使用的类组成。</span> <span>结果是大多数程序员只能直接使用这个包的一小部分。</span> <span>实际上,大多数程序员只会使用<tt>ORB</tt>类中的几种方法,一些例外情况,偶尔还会有一个持有者类。</span> </p>
|
||
<h3> <span><tt>ORB</tt>方法</span> </h3>
|
||
<p> <span>在应用程序进入CORBA环境之前,必须首先:</span> </p>
|
||
<p></p>
|
||
<ul>
|
||
<li> <span>被初始化为ORB和可能的对象适配器(POA)环境。</span> </li>
|
||
<li> <span>获取对ORB对象的引用(用于将来的ORB操作)以及其他对象(包括根POA或一些对象适配器对象)。</span> </li>
|
||
</ul>
|
||
<p> <span>提供以下操作来初始化应用程序并获取适当的对象引用:</span> </p>
|
||
<p></p>
|
||
<ul>
|
||
<li> <span>提供对ORB的访问的操作,这将在本节中讨论。</span> </li>
|
||
<li> <span>提供对对象适配器,接口存储库,命名服务和其他对象服务的访问的操作。</span> <span>这些操作在<em>Other Classes</em>中<a href="#adv">描述</a> 。</span> </li>
|
||
</ul>
|
||
<p> <span>当应用程序需要CORBA环境时,它需要一种获取ORB对象引用和可能的OA对象引用(例如根POA)的机制。</span> <span>这有两个目的。</span> <span>首先,它将应用程序初始化到ORB和OA环境中。</span> <span>其次,它将ORB对象引用和OA对象引用返回到应用程序,以供将来的ORB和OA操作使用。</span> </p>
|
||
<p> <span>为了获得ORB对象引用,应用程序调用<tt>ORB.init</tt>操作。</span> <span>呼叫的参数可以包括需要对象引用的ORB的标识符,以及用于允许环境特定数据被传递到呼叫中的arg_list。</span> </p>
|
||
<p> <span>这些是提供对ORB访问的<tt>ORB</tt>方法:</span> </p>
|
||
<ul>
|
||
<li> <span><tt>
|
||
<bold>
|
||
init
|
||
</bold>()</tt></span> </li>
|
||
<li> <span><tt>
|
||
<bold>
|
||
init
|
||
</bold>(String [] args, Properties props)</tt></span> </li>
|
||
<li> <span><tt>
|
||
<bold>
|
||
init
|
||
</bold>(Applet app, Properties props)</tt></span> </li>
|
||
</ul>
|
||
<p> <span>使用没有参数的<tt>init()</tt>方法启动一个单例ORB,它只能通过<tt>idlj</tt>在Helper类中<tt>生成的</tt>代码中给出类型代码创建<tt>any</tt>所需的类型代码。</span> </p>
|
||
<p> <span>应用程序需要一种便携式手段来获取其初始对象引用。</span> <span>根POA,POA Current,Interface Repository和各种对象服务实例需要引用。</span> <span>应用程序所需的功能类似于命名服务提供的功能。</span> <span>但是,OMG不希望将命名服务提供给所有应用程序,以便可以对其进行可移植的初始化。</span> <span>因此,本节中显示的操作提供了简化的本地版本的命名服务,应用程序可以使用它来获取对其操作至关重要的小型定义的对象引用集。</span> <span>因为只有一个很好的定义对象集合才能使用这种机制,所以命名上下文可以被平坦化成单级名称空间。</span> <span>这种简化导致仅定义了两个操作来实现所需的功能。</span> </p>
|
||
<p> <span>初始引用通过ORB对象接口中提供的两个操作获得,提供列出和解析初始对象引用的功能。</span> <span>这些是:</span> </p>
|
||
<ul>
|
||
<li> <span><tt>
|
||
<bold>
|
||
resolve_initial_references
|
||
</bold>(String name)</tt></span> </li>
|
||
<li> <span><tt>
|
||
<bold>
|
||
list_initial_services
|
||
</bold>()</tt></span> </li>
|
||
<li> <span><tt>
|
||
<bold>
|
||
register_initial_reference
|
||
</bold>(String id, org.omg.CORBA.Object obj)</tt></span> </li>
|
||
</ul>
|
||
<p> <span>使用其中一些方法的示例是<a href="../../../../technotes/guides/idl/GShome.html"><em>Getting Started with Java IDL</em></a> 。</span> </p>
|
||
<h2> <span>例外</span> </h2>
|
||
<span>Java IDL中的异常与使用Java编程语言编写的任何代码类似。</span>
|
||
<span>如果一个方法被定义为抛出异常,然后使用该方法的任何代码必须有一个<tt><tt>catch分之try</tt></tt>块和处理该异常,当它被抛出。</span>
|
||
<p> <span>关于<em>Java IDL exceptions</em>的<a href="../../../../technotes/guides/idl/jidlExceptions.html">文档</a>有更多的信息,并解释了系统异常和用户定义的异常之间的区别。</span> </p>
|
||
<p> <span>以下是包装<tt>org.omg.CORBA</tt>中定义的系统异常(未经检查通过<tt><a href="SystemException.html"> org.omg.CORBA.SystemException</a></tt>从<tt>java.lang.RuntimeException继承的异常</tt> )的<tt>列表</tt> :</span> </p>
|
||
<pre> <span><code> BAD_CONTEXT BAD_INV_ORDER BAD_OPERATION BAD_PARAM BAD_TYPECODE COMM_FAILURE DATA_CONVERSION FREE_MEM IMP_LIMIT INITIALIZE INTERNAL INTF_REPOS INVALID_TRANSACTION INV_FLAG INV_IDENT INV_OBJREF INV_POLICY MARSHAL <a href="#NO_IMPLEMENT">NO_IMPLEMENT</a> NO_MEMORY NO_PERMISSION NO_RESOURCES NO_RESPONSE OBJECT_NOT_EXIST OBJ_ADAPTER PERSIST_STORE TRANSACTION_REQUIRED TRANSACTION_ROLLEDBACK TRANSIENT UNKNOWN </code></span> </pre>
|
||
<p> <span>以下是包<tt>org.omg.CORBA中</tt>定义的用户定义异常的列表。</span> </p>
|
||
<pre> <span><code> Bounds UnknownUserException WrongTransaction PolicyError </code></span> </pre>
|
||
<h2> <span>子包</span> </h2>
|
||
<span><tt>CORBA</tt>包中有一些包, <tt>其中</tt>包是“包”,作为其名称的一部分。</span>
|
||
<span>这些软件包通常非常小,因为它们所做的一切都是提供<tt>CORBA</tt>软件包中的<tt>接口</tt>和类使用的异常或类。</span>
|
||
<p> <span>例如,包<tt><a href="TypeCodePackage/package-summary.html"> org.omg.CORBA.TypeCodePackage</a></tt>包含两个例外通过方法在类<tt>TypeCode</tt>抛出。</span> <span>这些例外是:</span> </p>
|
||
<ul>
|
||
<li> <span><tt>BadKind</tt></span> </li>
|
||
<li> <span><tt>Bounds</tt></span> </li>
|
||
</ul>
|
||
<span>包<tt><a href="ORBPackage/package-summary.html"> org.omg.CORBA.ORBPackage</a></tt>包含两个例外:</span>
|
||
<ul>
|
||
<li> <span><tt>InvalidName</tt></span> </li>
|
||
<li> <span><tt>InconsistentTypeCode</tt></span> </li>
|
||
</ul>
|
||
<p> <span>另一个包是<tt>CORBA</tt>的<tt>子</tt>包是<tt><a href="portable/package-summary.html">portable</a></tt>包。</span> <span>它提供了一组ORB API,使得一个供应商的IDL编译器生成的代码可以在另一个供应商的ORB上运行。</span> </p>
|
||
<h2> <span>持有人类</span> </h2>
|
||
<p> <span>支持out和inout参数传递模式需要使用额外的<em><a href="doc-files/generatedfiles.html#holder">holder classes</a></em> 。</span> <span>由于Java编程语言不支持out或inout参数,因此需要持有者类作为传递可修改参数的方法。</span> <span>为了支持便携式存根和骨架,持有者类也实现了<tt><a href="portable/Streamable.html">org.omg.CORBA.portable.Streamable</a></tt>接口。</span> </p>
|
||
<p> <span>持有人类通过将“持有人”附加到类型的名称来命名。</span> <span>该类型的名称指的是其Java编程语言中的名称。</span> <span>例如,对于Java编程语言命名为<tt>Account</tt>的接口holder类将被命名为<tt>AccountHolder。</tt></span> </p>
|
||
<p> <span><tt>org.omg.CORBA</tt>包中的所有基本IDL数据类型都支持持有者类。</span> <span>因此,举例来说,目前已经定义的类<tt><tt><tt>LongHolder,ShortHolder,FloatHolder,</tt></tt></tt>等等。</span> <span>除了typedefs定义的所有用户定义的IDL类型之外, <tt>还会生成类</tt> 。</span> <span>(请注意,在本文中,用户定义包括在OMG规范中定义的类型,例如Interface Repository和其他OMG服务的类型。)</span> </p>
|
||
<p> <span>每个持有人类有:</span> </p>
|
||
<p></p>
|
||
<ul>
|
||
<li> <span>一个实例的构造函数</span> </li>
|
||
<li> <span>一个默认构造函数</span> </li>
|
||
<li> <span>一个公共实例成员, <tt>value</tt>是类型值。</span> </li>
|
||
<li> <span>一种读取输入流并将内容分配给类型的<tt>value</tt>字段的方法</span> </li>
|
||
<li> <span>一种将<tt>value</tt>字段的值写入输出流的方法</span> </li>
|
||
<li> <span>获取类型代码的方法</span> </li>
|
||
</ul>
|
||
<p> <span>默认构造函数将值字段设置为由Java语言定义的类型的默认值:</span> </p>
|
||
<p></p>
|
||
<ul>
|
||
<li> <span><tt>false</tt>用于布尔值</span> </li>
|
||
<li> <span><tt>0</tt>用于数字和字符类型</span> </li>
|
||
<li> <span><tt>null</tt>用于字符串和对象引用</span> </li>
|
||
</ul>
|
||
<p> <span>例如,如果将OMG IDL中定义的接口<code>Account</code>映射到Java编程语言,则将生成以下持有者类:</span> </p>
|
||
<pre> <span>public final class AccountHolder implements
|
||
org.omg.CORBA.portable.Streamable
|
||
{
|
||
// field that holds an Account object
|
||
public Account value = null;
|
||
|
||
// default constructor
|
||
public AccountHolder ()
|
||
{
|
||
}
|
||
|
||
// creates a new AccountHolder from initialValue
|
||
public AccountHolder (Account initialValue)
|
||
{
|
||
value = initialValue;
|
||
}
|
||
|
||
// reads the contents of i and assigns the contents to value
|
||
public void _read (org.omg.CORBA.portable.InputStream i)
|
||
{
|
||
value = AccountHelper.read (i);
|
||
}
|
||
|
||
// writes value to o
|
||
public void _write (org.omg.CORBA.portable.OutputStream o)
|
||
{
|
||
AccountHelper.write (o, value);
|
||
}
|
||
|
||
// returns the typecode for Account
|
||
public org.omg.CORBA.TypeCode _type ()
|
||
{
|
||
return AccountHelper.type ();
|
||
}
|
||
|
||
}</span> </pre>
|
||
<p> <span>关于Holder类的更多信息,请参见第1.4章, <em>映射在基本类型</em> <a href="http://cgi.omg.org/cgi-bin/doc?ptc/00-01-08"><em>OMG IDL to Java Language Mapping</em></a> 。</span> <span>包装<tt>org.omg.CORBA</tt>中定义的持有人类别如下:</span> </p>
|
||
<pre> <span> <tt>AnyHolder </tt> <tt>AnySeqHolder </tt> <tt>BooleanHolder </tt> <tt>BooleanSeqHolder </tt> <tt>ByteHolder </tt> <tt>CharHolder </tt> <tt>CharSeqHolder </tt> <tt>CurrentHolder </tt> <tt>DoubleHolder </tt> <tt>DoubleSeqHolder </tt> <tt>FixedHolder </tt> <tt>FloatHolder </tt> <tt>FloatSeqHolder </tt> <tt>IntHolder </tt> <tt>LongHolder </tt> <tt>LongLongSeqHolder </tt> <tt>LongSeqHolder </tt> <tt>ObjectHolder </tt> <tt>OctetSeqHolder </tt> <tt>ParameterModeHolder </tt> <tt>PolicyErrorHolder </tt> <tt>PolicyListHolder </tt> <tt>PrincipalHolder </tt> <tt>ServiceInformationHolder </tt> <tt>ShortHolder </tt> <tt>ShortSeqHolder </tt> <tt>StringHolder </tt> <tt>StringSeqHolder </tt> <tt>TypeCodeHolder </tt> <tt>ULongLongSeqHolder </tt> <tt>ULongSeqHolder </tt> <tt>UnknownUserExceptionHolder </tt> <tt>UShortSeqHolder </tt> <tt>ValueBaseHolder </tt> <tt>WCharSeqHolder </tt> <tt>WrongTransactionHolder </tt> <tt>WStringSeqHolder</tt></span> </pre>
|
||
<h2> <span>助手班</span> </h2>
|
||
<p> <span>助手文件提供了几种处理类型所需的静态方法。</span> <span>这些包括:</span> </p>
|
||
<p></p>
|
||
<ul>
|
||
<li> <span><tt>Any</tt>插入和提取类型的操作</span> </li>
|
||
<li> <span>获取存储库ID</span> </li>
|
||
<li> <span>得到类型代码</span> </li>
|
||
<li> <span>从流读取和写入类型</span> </li>
|
||
<li> <span>实现<code>ValueHelper</code>接口(如果是用户定义的值类型)</span> </li>
|
||
</ul>
|
||
<p> <span>映射IDL接口或抽象接口的帮助类也包括窄操作。</span> <span>静态窄方法允许将<tt>org.omg.CORBA.Object</tt>缩小为更具体类型的对象引用。</span> <span>如果由于对象引用不支持所请求的类型,则narrow会导致IDL异常<tt>CORBA.BAD_PARAM</tt>抛出。</span> <span>引起不同的系统异常以指示其他种类的错误。</span> <span>尝试缩小<tt>null</tt>将始终成功,返回值为<tt>null</tt> 。</span> <span>通常,应用程序员使用的唯一辅助方法是<code>narrow</code>方法。</span> <span>其他方法通常在幕后使用,对程序员是透明的。</span> </p>
|
||
<p> <span>助手班分为两大类: <a href="#value">helpers for value types</a>和<a href="#basic">helpers for non value types</a> 。</span> <span>因为一个类别中的所有帮助类都提供相同的方法,所以在这里给出了每类帮助类的一个通用说明。</span> </p>
|
||
<p> <span>当OMG IDL被映射到Java编程语言时,为每个用户定义的类型生成一个“帮助”类。</span> <span>该生成的类将具有附加后缀<code>Helper</code>的用户定义类型的名称。</span> <span>例如,如果界面<code>Account</code>在OMG IDL中定义, <code>idlj</code>编译器将自动生成一个名为<code>AccountHelper</code>的类。</span> <span><code>AccountHelper</code>类将包含操作类型实例所需的静态方法,在这种情况下为<code>Account</code>对象。</span> <span><a name="narrow"></a></span> </p>
|
||
<h3> <span><code>narrow</code>方法</span> </h3>
|
||
<span>当一个对象是方法的返回值时,它将以通用对象的形式返回,即<code>org.omg.CORBA.Object</code>对象或<code>java.lang.Object</code>对象。</span>
|
||
<span>必须将该对象转换为更具体的类型才能操作。</span>
|
||
<span>例如, <code>Account</code>对象将作为通用对象返回,并且必须缩小为<code>Account</code>对象,以便可以调用<code>Account</code>方法。</span>
|
||
<p> <span><code>narrow</code>方法有两种形式,一种为<code>org.omg.CORBA.Object</code>对象,一种为<code>java.lang.Object</code>对象。</span> <span>界面是抽象的还是<code>narrow</code>它的助手类将提供哪些<code>narrow</code>方法。</span> <span>不是抽象的接口的帮助类将具有<code>narrow</code>方法,该方法采用CORBA对象,而抽象接口的<code>narrow</code>方法将采用Java编程语言中的对象。</span> <span>具有至少一个抽象基础接口的非抽象接口的帮助类将提供<code>narrow</code>方法的两个版本。</span> </p>
|
||
<p> <span><a href="../../../../technotes/guides/idl/jidlExample.html"><em>Hello World</em></a>教程使用<tt>narrow</tt>方法,如下所示:</span> </p>
|
||
<p></p>
|
||
<pre> <span>// create and initialize the ORB
|
||
ORB orb = ORB.init(args, null);
|
||
|
||
// get the root naming context
|
||
org.omg.CORBA.Object objRef =
|
||
orb.resolve_initial_references("NameService");
|
||
// Use NamingContextExt instead of NamingContext. This is
|
||
// part of latest Inter-Operable naming Service.
|
||
NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);
|
||
|
||
// resolve the Object Reference in Naming
|
||
String name = "Hello";
|
||
helloImpl = HelloHelper.narrow(ncRef.resolve_str(name));</span> </pre>
|
||
<span><a name="basic"></a></span>
|
||
<h3> <span>基本助手类的示例</span> </h3>
|
||
<span>为了解释这个目的,一个基本的帮助类是每个帮助类提供的方法,另外还有一个<code>narrow</code>方法,如果在OMG IDL中定义的类型映射到Java编程语言的接口。</span>
|
||
<span>不是类型的类型将为它们生成一个基本的帮助类。</span>
|
||
<p> <span>例如,假设接口<code>Account</code>不是值类型IDL类型,也不是抽象接口,没有抽象的基本接口,它的<code>AccountHelper</code>类将如下所示:</span> </p>
|
||
<pre> <span>abstract public class AccountHelper
|
||
{
|
||
private static String _id = "IDL:Account:1.0";
|
||
|
||
// inserts an Account object into an Any object
|
||
public static void insert (org.omg.CORBA.Any a, Account that)
|
||
{
|
||
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
|
||
a.type (type ());
|
||
write (out, that);
|
||
a.read_value (out.create_input_stream (), type ());
|
||
}
|
||
|
||
// extracts an Account object from an Any object
|
||
public static Account extract (org.omg.CORBA.Any a)
|
||
{
|
||
return read (a.create_input_stream ());
|
||
}
|
||
|
||
|
||
private static org.omg.CORBA.TypeCode __typeCode = null;
|
||
// gets the typecode for this type
|
||
synchronized public static org.omg.CORBA.TypeCode type ()
|
||
{
|
||
if (__typeCode == null)
|
||
{
|
||
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (AccountHelper.id (), "Account");
|
||
}
|
||
return __typeCode;
|
||
}
|
||
|
||
// gets the repository id for this type
|
||
public static String id ()
|
||
{
|
||
return _id;
|
||
}
|
||
|
||
// reads an Account object from an input stream
|
||
public static Account read (org.omg.CORBA.portable.InputStream istream)
|
||
{
|
||
return narrow (istream.read_Object (_AccountStub.class));
|
||
}
|
||
|
||
// writes an Account object to an outputstream
|
||
public static void write (org.omg.CORBA.portable.OutputStream ostream, Account value)
|
||
{
|
||
ostream.write_Object ((org.omg.CORBA.Object) value);
|
||
}
|
||
|
||
// converts (narrows) an Object to an Account object
|
||
public static Account narrow (org.omg.CORBA.Object obj)
|
||
{
|
||
if (obj == null)
|
||
return null;
|
||
else if (obj instanceof Account)
|
||
return (Account)obj;
|
||
else if (!obj._is_a (id ()))
|
||
throw new org.omg.CORBA.BAD_PARAM ();
|
||
else
|
||
{
|
||
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
|
||
_AccountStub stub = new _AccountStub ();
|
||
stub._set_delegate(delegate);
|
||
return stub;
|
||
}
|
||
}
|
||
|
||
}</span> </pre>
|
||
<p></p>
|
||
<h3> <span>值类型助手类</span> </h3>
|
||
<span>值类型的帮助类包括为非值类型方法生成的相同方法的不同渲染。</span>
|
||
<span>主要区别在于值类型是可以通过值作为参数或方法的返回值传递的类型,这意味着它们必须是可序列化的。</span>
|
||
<p> <span>假设<code>Address</code>是一个值类型, <code>AddressHelper</code>类将如下所示:</span> </p>
|
||
<pre> <span>abstract public class AddressHelper
|
||
{
|
||
private static String _id = "IDL:Address:1.0";
|
||
|
||
// same as for non-value type
|
||
public static void insert (org.omg.CORBA.Any a, Address that)
|
||
{
|
||
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
|
||
a.type (type ());
|
||
write (out, that);
|
||
a.read_value (out.create_input_stream (), type ());
|
||
}
|
||
|
||
// same as for non-value type
|
||
public static Address extract (org.omg.CORBA.Any a)
|
||
{
|
||
return read (a.create_input_stream ());
|
||
}
|
||
|
||
private static org.omg.CORBA.TypeCode __typeCode = null;
|
||
private static boolean __active = false;
|
||
|
||
// getting the typecode for the type
|
||
synchronized public static org.omg.CORBA.TypeCode type ()
|
||
{
|
||
if (__typeCode == null)
|
||
{
|
||
synchronized (org.omg.CORBA.TypeCode.class)
|
||
{
|
||
if (__typeCode == null)
|
||
{
|
||
if (__active)
|
||
{
|
||
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
|
||
}
|
||
__active = true;
|
||
org.omg.CORBA.ValueMember[] _members0 = new org.omg.CORBA.ValueMember[0];
|
||
org.omg.CORBA.TypeCode _tcOf_members0 = null;
|
||
__typeCode = org.omg.CORBA.ORB.init ().create_value_tc (_id, "Address", org.omg.CORBA.VM_NONE.value, null, _members0);
|
||
__active = false;
|
||
}
|
||
}
|
||
}
|
||
return __typeCode;
|
||
}
|
||
|
||
// same as for non-value type
|
||
public static String id ()
|
||
{
|
||
return _id;
|
||
}
|
||
|
||
// reads a serializable instance of Address from the given input stream
|
||
public static Address read (org.omg.CORBA.portable.InputStream istream)
|
||
{
|
||
return (Address)((org.omg.CORBA_2_3.portable.InputStream) istream).read_value (id ());
|
||
}
|
||
|
||
// writes a serializable instance of Address to the given output stream
|
||
public static void write (org.omg.CORBA.portable.OutputStream ostream, Address value)
|
||
{
|
||
((org.omg.CORBA_2_3.portable.OutputStream) ostream).write_value (value, id ());
|
||
}
|
||
|
||
|
||
}</span> </pre>
|
||
<p> <span>包装<tt>org.omg.CORBA</tt>中定义的助手类是:</span> </p>
|
||
<pre> <span><code> <tt>AnySeqHelper </tt> <tt>BooleanSeqHelper </tt> <tt>CharSeqHelper </tt> <tt>CompletionStatusHelper </tt> <tt>CurrentHelper </tt> <tt>DefinitionKindHelper </tt> <tt>DoubleSeqHelper </tt> <tt>FieldNameHelper </tt> <tt>FloatSeqHelper </tt> <tt>IdentifierHelper </tt> <tt>IDLTypeHelper </tt> <tt>LongLongSeqHelper </tt> <tt>LongSeqHelper </tt> <tt>NameValuePairHelper </tt> <tt>ObjectHelper </tt> <tt>OctetSeqHelper </tt> <tt>ParameterModeHelper </tt> <tt>PolicyErrorCodeHelper </tt> <tt>PolicyErrorHelper </tt> <tt>PolicyHelper </tt> <tt>PolicyListHelper </tt> <tt>PolicyTypeHelper </tt> <tt>RepositoryIdHelper </tt> <tt>ServiceDetailHelper </tt> <tt>ServiceInformationHelper </tt> <tt>SetOverrideTypeHelper </tt> <tt>ShortSeqHelper </tt> <tt>StringSeqHelper </tt> <tt>StringValueHelper </tt> <tt>StructMemberHelper </tt> <tt>ULongLongSeqHelper </tt> <tt>ULongSeqHelper </tt> <tt>UnionMemberHelper </tt> <tt>UnknownUserExceptionHelper </tt> <tt>UShortSeqHelper </tt> <tt>ValueBaseHelper </tt> <tt>ValueMemberHelper </tt> <tt>VersionSpecHelper </tt> <tt>VisibilityHelper </tt> <tt>WCharSeqHelper </tt> <tt>WrongTransactionHelper </tt> <tt>WStringSeqHelper </tt> <tt>WStringValueHelper</tt> </code></span> </pre>
|
||
<span><a name="adv"></a></span>
|
||
<h1> <span>其他类</span> </h1>
|
||
<span>在幕后使用的<tt>CORBA</tt>包中的其他类和接口可以分为四组。</span>
|
||
<span>其中三个组用于具有某种能力的请求,第四组关于Interface Repository本身就是一个类别。</span>
|
||
<h2> <span>ORB创建的类</span> </h2>
|
||
<span>第一组包含由ORB创建并包含在请求操作中使用的信息的类。</span>
|
||
<ul>
|
||
<li> <span><tt>TCKind</tt> - 表示<tt>TypeCode</tt>对象的种类(数据类型)</span> </li>
|
||
<li> <span><tt>TypeCode</tt> - 表示数据类型和可能的其他信息</span> </li>
|
||
<li> <span><tt>Any</tt> - 包含一个值及其类型代码</span> </li>
|
||
<li> <span><tt>NamedValue</tt> - 包含一个名称,一个<tt>Any</tt>对象和一个参数模式标志。</span> <span><tt>NamedValue</tt>对象包含有关方法参数,方法返回值或上下文的信息。</span> </li>
|
||
<li> <span><tt>ContextList</tt> - 描述需要解析并通过调用发送的上下文的字符串列表</span> </li>
|
||
<li> <span><tt>ExceptionList</tt> - 可能由方法抛出异常的<tt>TypeCode</tt> s的列表</span> </li>
|
||
<li> <span><tt>Environment</tt> - 在方法调用期间抛出异常的容器</span> </li>
|
||
<li> <span><tt>Context</tt> - 用于将辅助信息从客户端传递到服务器的<tt>NamedValue</tt>对象的列表</span> </li>
|
||
<li> <span><tt>NVList</tt> - 用于传递参数或获取结果的<tt>NamedValue</tt>对象的列表</span> </li>
|
||
</ul>
|
||
<h2> <span>处理请求的类</span> </h2>
|
||
<span>第二类课程涉及要求:</span>
|
||
<ul>
|
||
<li> <span><tt>Object</tt> - 所有CORBA对象引用的基类</span> </li>
|
||
<li> <span><tt>Request</tt> - DII中的主类,其中包含用于向请求添加参数的方法,用于访问有关正在调用的方法的信息(方法名称,其参数,它们抛出的异常等),并进行调用请求</span> </li>
|
||
<li> <span><tt>DynamicImplementation</tt> - 使用DSI的服务器实现的基类。</span> <span>它具有方法<tt>invoke</tt> ,由该类的实现用于确定<tt>ServerRequest</tt>对象的状态并设置其结果或异常</span> </li>
|
||
<li> <span><tt>ServerRequest</tt> - 捕获动态骨架接口请求的显式状态</span> </li>
|
||
</ul>
|
||
<h2> <span>作为常量的接口</span> </h2>
|
||
<span>第三组包含用作常量的接口。</span>
|
||
<span>IDL到Java映射要求IDL枚举映射到Java类,枚举值表示为该类中的public static final字段(例如DefinitionKind)。</span>
|
||
<span>另一方面,IDL接口外部定义的IDL常量映射到每个常量的Java接口。</span>
|
||
<p> <span>这就是为什么<tt>org.omg.CORBA</tt>包中的几个接口由一个字段<tt>value组成</tt> ,这是一个<tt>short</tt> 。</span> <span>此字段是用于诸如错误代码或值修饰符之类的常量。</span> <span>例如,接口<tt>BAD_POLICY</tt>的<tt>value</tt>字段是被抛出的为异常<tt>PolicyError</tt>的可能原因之一。</span> <span>要指定此错误代码,您将使用<tt>BAD_POLICY.value</tt> 。</span> </p>
|
||
<p> <span>例外<tt>PolicyError</tt>使用以下<tt>接口的value</tt>字段作为其可能的错误代码。</span> </p>
|
||
<ul>
|
||
<li> <span><tt>BAD_POLICY</tt></span> </li>
|
||
<li> <span><tt>BAD_POLICY_TYPE</tt></span> </li>
|
||
<li> <span><tt>BAD_POLICY_VALUE</tt></span> </li>
|
||
<li> <span><tt>UNSUPPORTED_POLICY</tt></span> </li>
|
||
<li> <span><tt>UNSUPPORTED_POLICY_VALUE</tt></span> </li>
|
||
</ul>
|
||
<span>方法<tt>TypeCode.type_modifier</tt>返回以下<tt>接口</tt>之一的value字段。</span>
|
||
<span>这些<tt>接口</tt>的名称中的VM代表“值修饰符”。</span>
|
||
<ul>
|
||
<li> <span><tt>VM_NONE</tt></span> </li>
|
||
<li> <span><tt>VM_ABSTRACT</tt></span> </li>
|
||
<li> <span><tt>VM_CUSTOM</tt></span> </li>
|
||
<li> <span><tt>VM_TRUNCATABLE</tt></span> </li>
|
||
</ul>
|
||
<span>以下常数由<code>ValueMember</code>对象的访问方法返回,以表示<code>ValueMember</code>对象的<code>ValueMember</code> 。</span>
|
||
<ul>
|
||
<li> <span><tt>PRIVATE_MEMBER</tt></span> </li>
|
||
<li> <span><tt>PUBLIC_MEMBER</tt></span> </li>
|
||
</ul>
|
||
<span>在<tt>NamedValue</tt>对象或方法参数中使用的这些标志在<tt>以下接口</tt>中定义:</span>
|
||
<ul>
|
||
<li> <span><tt>ARG_IN</tt></span> </li>
|
||
<li> <span><tt>ARG_INOUT</tt></span> </li>
|
||
<li> <span><tt>ARG_OUT</tt></span> </li>
|
||
<li> <span><tt>CTX_RESTRICT_SCOPE</tt></span> </li>
|
||
</ul>
|
||
<h2> <span>接口存储库接口和类</span> </h2>
|
||
<span>第四组包含Interface Repository接口和类,它们由OMG IDL接口ir.idl的<tt>idlj</tt>编译器<tt>生成</tt> 。</span>
|
||
<span>Interface Repository的目的是识别存储在其中的接口,以便它们可被ORB访问。</span>
|
||
<span>Interface Repository API完全描述每个模块,类型,接口,属性,操作,参数,异常,常量等。</span>
|
||
<p> <span>ORB不要求有一个接口存储库,Java IDL不包含一个。</span> <span>即使此版本不包括接口存储库的实现,为了创建类型代码,已经包括以下IR类和接口(请参阅org.omg.CORBA.ORB接口中的create_value_tc,create_struct_tc,create_union_tc和create_exception_tc方法):</span> <br/> <span>&nbs</span> </p>
|
||
<ul>
|
||
<li> <span>IRObject</span> </li>
|
||
<li> <span>IDLType</span> </li>
|
||
<li> <span>定义属性</span> </li>
|
||
<li> <span>StructMember</span> </li>
|
||
<li> <span>联盟会员</span> </li>
|
||
<li> <span>ValueMember</span> </li>
|
||
</ul>
|
||
<!-- End Page Data -->
|
||
<hr/>
|
||
<h1> <span>相关文档</span> </h1>
|
||
<span>有关概述,指南和教程,请参阅:</span>
|
||
<ul>
|
||
<li> <span><a href="../../../../technotes/guides/idl/index.html">Java IDL home page</a></span> </li>
|
||
</ul>
|
||
<p> <span><a name="unimpl"></a></span> </p>
|
||
<h1> <span>Java IDL中未实现CORBA功能</span> </h1>
|
||
<p> <span><tt>org.omg</tt>子包中包含的一些API是为了符合当前的OMG CORBA规范而提供的,但在Sun发布的JDK <sup><font size="-2">TM中未实现</font></sup> 。</span> <span>这使得其他JDK许可证持有者可以在标准扩展和产品中提供此API的实现。</span> </p>
|
||
<p> <span><a name="NO_IMPLEMENT"></a></span> </p>
|
||
<h2> <span>特征抛出NO_IMPLEMENT</span> </h2>
|
||
<p> <span>由于种种原因, <tt>org.omg</tt>子包中的一些API引发了<tt>NO_IMPLEMENT个</tt>异常。</span> <span>其中包括:</span> </p>
|
||
<p></p>
|
||
<ul>
|
||
<li> <span>在某些情况下,例如<tt>LocalObject</tt> ,根据<tt>规范</tt>的完整实现表明这些API应该抛出<tt>NO_IMPLEMENT</tt> 。</span> <p></p></li>
|
||
<li> <span>在大多数情况下,例如<tt>ORB.java</tt>中的方法,抛出<tt>NO_IMPLEMENT的</tt>方法实际上是在ORB代码中其他地方的子类中实现的。</span> <p></p></li>
|
||
<li> <span>在某些情况下,例如<tt>_get_interface_def()</tt>和<tt>_get_interface</tt> ,API实际上还没有实现。</span> </li>
|
||
</ul>
|
||
<h2> <span>此版本中未实现的功能或API概述</span> </h2>
|
||
<ul>
|
||
<li> <span>接口存储库。</span> <span>Java IDL的正常操作不需要Interface Repository。</span> </li>
|
||
<li> <span>Java IDL不支持<tt>long double</tt> 。</span> </li>
|
||
<li> <span>政策( <tt><a href="Policy.html">org.omg.CORBA.Policy</a></tt> )及其获取方法尚未实施。</span> </li>
|
||
<li> <span>域管理员( <tt><a href="DomainManager.html">org.omg.CORBA.DomainManager</a></tt> )及其获取方法尚未实施。</span> </li>
|
||
<li> <span>服务信息<tt><a href="ServiceInformation.html">org.omg.CORBA.ServiceInformation</a></tt>和ORB方法<tt>public boolean get_service_information(short service_type, ServiceInformationHolder service_info)</tt>未实现。</span> </li>
|
||
<li> <span>用于支持单线程<tt><tt>(perform_work,work_pending)ORB</tt></tt>方法未实现。</span> </li>
|
||
<li> <span>IDL上下文。</span> </li>
|
||
</ul>
|
||
<hr/>
|
||
<h2> <span>包<tt>org.omg.CORBA</tt>中未实现特性的具体列表</span> </h2>
|
||
<h3> <span>包<tt>org.omg.CORBA中未</tt>实现的方法:</span> </h3>
|
||
<ul>
|
||
<li> <span><tt>ORB</tt></span>
|
||
<ul>
|
||
<li> <span><tt>public org.omg.CORBA.Policy create_policy(int type, org.omg.CORBA.Any val)</tt></span> </li>
|
||
<li> <span><tt>public void perform_work()</tt></span> </li>
|
||
<li> <span><tt>public boolean work_pending()</tt></span> </li>
|
||
<li> <span><tt>public org.omg.CORBA.Current get_current()</tt></span> </li>
|
||
<li> <span><tt>create_operation_list</tt></span> </li>
|
||
<li> <span><tt>get_default_context</tt></span> </li>
|
||
<li> <span><tt>get_service_information</tt></span> </li>
|
||
<li> <span>过时<tt>DynAnys</tt> (弃用赞成<tt>DynamicAny</tt>包)</span> </li>
|
||
</ul></li>
|
||
</ul>
|
||
</div>
|
||
<dl>
|
||
<dt>
|
||
<span class="simpleTagLabel">从以下版本开始:</span>
|
||
</dt>
|
||
<dd>
|
||
JDK1.2
|
||
</dd>
|
||
</dl>
|
||
</div> |