JavaTM 2 Platform
Standard Ed. 6

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

使用 ObjectNotActive 的软件包
org.omg.PortableServer 提供一些类和接口,用来生成跨多个供应商 ORB 的可移植应用程序的服务器端。 
org.omg.PortableServer.POAPackage 允许程序员构造可在不同 ORB 产品间移植的对象实现。 
 

org.omg.PortableServerObjectNotActive 的使用
 

抛出 ObjectNotActiveorg.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.POAPackageObjectNotActive 的使用
 

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

参数类型为 ObjectNotActiveorg.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