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

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

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