JavaTM 2 Platform
Standard Ed. 6

類別 org.omg.PortableServer.CurrentPackage.NoContext
的使用

使用 NoContext 的軟體套件
org.omg.PortableServer 提供一些類別和介面,用來產生跨多個供應商 ORB 的可移植應用程序的伺服器端。 
org.omg.PortableServer.CurrentPackage 提供各種方法實作,這些實作能夠存取調用方法的物件的身份。 
 

org.omg.PortableServer 中 NoContext 的使用
 

拋出 NoContext 的 org.omg.PortableServer 中的方法
 byte[] CurrentOperations.get_object_id()
          返回一個 ObjectId,標識此方法在其上下文中調用的物件。
 POA CurrentOperations.get_POA()
          返回對 POA 的參考,該 POA 實作此方法在其上下文中調用的物件。
 

org.omg.PortableServer.CurrentPackage 中 NoContext 的使用
 

返回 NoContext 的 org.omg.PortableServer.CurrentPackage 中的方法
static NoContext NoContextHelper.extract(Any a)
           
static NoContext NoContextHelper.read(InputStream istream)
           
 

參數型別為 NoContext 的 org.omg.PortableServer.CurrentPackage 中的方法
static void NoContextHelper.insert(Any a, NoContext that)
           
static void NoContextHelper.write(OutputStream ostream, NoContext value)
           
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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