JavaTM 2 Platform
Standard Ed. 6

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

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

org.omg.PortableServer 中 ObjectNotActive 的使用
 

拋出 ObjectNotActive 的 org.omg.PortableServer 中的方法
 void POAOperations.deactivate_object(byte[] oid)
          此操作促使在 oid 參數中指定的 ObjectId 被取消啟動。
 Object POAOperations.id_to_reference(byte[] oid)
          如果具有指定 Object Id 值的物件當前不是啟動狀態,則返回一個封裝啟動該物件時所用資訊的參考。
 Servant POAOperations.id_to_servant(byte[] oid)
          如果 POA 具有 RETAIN 策略並且指定的 ObjectId 存在於 Active Object Map 中,則此操作返回與 Active Object Map 中該物件關聯的 servant。
 Servant POAOperations.reference_to_servant(Object reference)
          如果 POA 具有 RETAIN 策略並且指定的物件存在於 Active Object Map 中,則此操作返回與 Active Object Map 中該物件關聯的 servant。
 

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

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

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


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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