JavaTM 2 Platform
Standard Ed. 6

類別 org.omg.PortableServer.POAPackage.WrongAdapter
的使用

使用 WrongAdapter 的軟體套件
org.omg.PortableServer 提供一些類別和介面,用來產生跨多個供應商 ORB 的可移植應用程序的伺服器端。 
org.omg.PortableServer.POAPackage 允許開發人員建構可在不同 ORB 產品間移植的物件實作。 
 

org.omg.PortableServer 中 WrongAdapter 的使用
 

拋出 WrongAdapter 的 org.omg.PortableServer 中的方法
 byte[] POAOperations.reference_to_id(Object reference)
          此操作返回指定參考封裝的 Object Id 值。
 Servant POAOperations.reference_to_servant(Object reference)
          如果 POA 具有 RETAIN 策略並且指定的物件存在於 Active Object Map 中,則此操作返回與 Active Object Map 中該物件關聯的 servant。
 

org.omg.PortableServer.POAPackage 中 WrongAdapter 的使用
 

返回 WrongAdapter 的 org.omg.PortableServer.POAPackage 中的方法
static WrongAdapter WrongAdapterHelper.extract(Any a)
           
static WrongAdapter WrongAdapterHelper.read(InputStream istream)
           
 

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


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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