JavaTM 2 Platform
Standard Ed. 6

类 org.omg.PortableServer.CurrentPackage.NoContext
的使用

使用 NoContext 的软件包
org.omg.PortableServer 提供一些类和接口,用来生成跨多个供应商 ORB 的可移植应用程序的服务器端。 
org.omg.PortableServer.CurrentPackage 提供各种方法实现,这些实现能够访问调用方法的对象的身份。 
 

org.omg.PortableServerNoContext 的使用
 

抛出 NoContextorg.omg.PortableServer 中的方法
 byte[] CurrentOperations.get_object_id()
          返回一个 ObjectId,标识此方法在其上下文中调用的对象。
 POA CurrentOperations.get_POA()
          返回对 POA 的引用,该 POA 实现此方法在其上下文中调用的对象。
 

org.omg.PortableServer.CurrentPackageNoContext 的使用
 

返回 NoContextorg.omg.PortableServer.CurrentPackage 中的方法
static NoContext NoContextHelper.extract(Any a)
           
static NoContext NoContextHelper.read(InputStream istream)
           
 

参数类型为 NoContextorg.omg.PortableServer.CurrentPackage 中的方法
static void NoContextHelper.insert(Any a, NoContext that)
           
static void NoContextHelper.write(OutputStream ostream, NoContext value)
           
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

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