JavaTM 2 Platform
Standard Ed. 6

接口 org.omg.CORBA.Current
的使用

使用 Current 的软件包
org.omg.CORBA 提供 OMG CORBA API 到 JavaTM 编程语言的映射,包括 ORB 类,如果已实现该类,则程序员可以使用此类作为全功能对象请求代理(Object Request Broker,ORB)。 
org.omg.PortableServer 提供一些类和接口,用来生成跨多个供应商 ORB 的可移植应用程序的服务器端。 
 

org.omg.CORBA 中 Current 的使用
 

声明为 Current 的 org.omg.CORBA 中的字段
 Current CurrentHolder.value
           
 

返回 Current 的 org.omg.CORBA 中的方法
static Current CurrentHelper.extract(Any a)
           
 Current ORB.get_current()
          已过时。 使用 resolve_initial_references。
static Current CurrentHelper.narrow(Object obj)
           
static Current CurrentHelper.read(InputStream istream)
           
 

参数类型为 Current 的 org.omg.CORBA 中的方法
static void CurrentHelper.insert(Any a, Current that)
           
static void CurrentHelper.write(OutputStream ostream, Current value)
           
 

参数类型为 Current 的 org.omg.CORBA 中的构造方法
CurrentHolder(Current initialValue)
           
 

org.omg.PortableServer 中 Current 的使用
 

org.omg.PortableServer 中 Current 的子接口
 interface Current
          从 CORBA::Current 派生的 PortableServer::Current 接口,它提供一些方法实现,这些实现能够访问调用方法的对象的身份。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。