| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface Delegate
可移植性包包含供 ORB 实现者使用的接口和类。它提供了公共定义的 API,可用来连接 stub 和 ORB 框架。Delegate 接口提供特定于 ORB 供应商的 PortableServer::Servant 实现。遵守规范 CORBA V2.3.1 ptc/00-01-08.pdf
| 方法摘要 | |
|---|---|
|  POA | default_POA(Servant Self)此方法的默认行为是从关联 servant 的 ORB 实例返回根 POA。 | 
|  Object | get_interface_def(Servant self)此操作返回接口 Repository 中的一个对象,该对象提供可能对编程有用的类型信息。 | 
|  boolean | is_a(Servant Self,
     String Repository_Id)此方法查看指定的 repid 是否存在于 _all_interfaces() 返回的列表上,或者该 repid 是否是通用 CORBA 对象的存储库 id。 | 
|  boolean | non_existent(Servant Self)此操作用来检查 Object 是否存在。 | 
|  byte[] | object_id(Servant Self)方法 _object_id() 等效于调用 PortableServer::Current::get_object_id。 | 
|  ORB | orb(Servant Self)返回当前关联 Servant 的 ORB 实例的便捷方法。 | 
|  POA | poa(Servant Self)method _poa() 等效于调用 PortableServer::Current:get_POA。 | 
|  Object | this_object(Servant Self)此方法允许 servant 获取为请求实现的目标 CORBA 对象的对象引用。 | 
| 方法详细信息 | 
|---|
ORB orb(Servant Self)
Self - servant。
Object this_object(Servant Self)
Self - servant。
POA poa(Servant Self)
Self - servant。
byte[] object_id(Servant Self)
Self - servant。
POA default_POA(Servant Self)
Self - servant。
boolean is_a(Servant Self,
             String Repository_Id)
Self - servant。Repository_Id - 要在存储库列表中检查(或根据通用 CORBA 对象检查)的 repository_id。
boolean non_existent(Servant Self)
Self - servant。
Object get_interface_def(Servant self)
self - servant。
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。