JavaTM 2 Platform
Standard Ed. 6

類別 org.omg.PortableInterceptor.InvalidSlot
的使用

使用 InvalidSlot 的軟體套件
org.omg.PortableInterceptor 提供一個註冊 ORB 鉤子 (hook) 的機制,通過這些鉤子 ORB 服務可以截取執行 ORB 的正常串流。 
 

org.omg.PortableInterceptor 中 InvalidSlot 的使用
 

返回 InvalidSlot 的 org.omg.PortableInterceptor 中的方法
static InvalidSlot InvalidSlotHelper.extract(Any a)
           
static InvalidSlot InvalidSlotHelper.read(InputStream istream)
           
 

參數型別為 InvalidSlot 的 org.omg.PortableInterceptor 中的方法
static void InvalidSlotHelper.insert(Any a, InvalidSlot that)
           
static void InvalidSlotHelper.write(OutputStream ostream, InvalidSlot value)
           
 

拋出 InvalidSlot 的 org.omg.PortableInterceptor 中的方法
 Any CurrentOperations.get_slot(int id)
          檢索應用程序通過 get_slot 在 PICurrent 中設置的槽資料。
 Any RequestInfoOperations.get_slot(int id)
          返回請求域內 PortableInterceptor.Current 給定槽 (slot) 中的資料。
 void CurrentOperations.set_slot(int id, Any data)
          在槽中設置資料。
 void ServerRequestInfoOperations.set_slot(int id, Any data)
          允許 Interceptor 在請求域中的 PortableInterceptor.Current 內設置槽 (slot)。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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