JavaTM Platform
Standard Ed. 6

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

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

org.omg.PortableServer 中 WrongAdapter 的使用
 

抛出 WrongAdapter 的 org.omg.PortableServer 中的方法
 byte[] POAOperations.reference_to_id(Object reference)
          此操作返回指定引用封装的 Object Id 值。
 Servant POAOperations.reference_to_servant(Object reference)
          如果 POA 具有 RETAIN 策略并且指定的对象存在于 Active Object Map 中,则此操作返回与 Active Object Map 中该对象关联的 servant。
 

org.omg.PortableServer.POAPackage 中 WrongAdapter 的使用
 

返回 WrongAdapter 的 org.omg.PortableServer.POAPackage 中的方法
static WrongAdapter WrongAdapterHelper.extract(Any a)
           
static WrongAdapter WrongAdapterHelper.read(InputStream istream)
           
 

参数类型为 WrongAdapter 的 org.omg.PortableServer.POAPackage 中的方法
static void WrongAdapterHelper.insert(Any a, WrongAdapter that)
           
static void WrongAdapterHelper.write(OutputStream ostream, WrongAdapter value)
           
 


JavaTM Platform
Standard Ed. 6

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

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