JavaTM 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 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。