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。