JavaTM Platform
Standard Ed. 6

类 java.rmi.NotBoundException
的使用

使用 NotBoundException 的软件包
java.rmi 提供 RMI 包。 
java.rmi.registry 提供 RMI 注册表的一个类和两个接口。 
 

java.rmi 中 NotBoundException 的使用
 

抛出 NotBoundException 的 java.rmi 中的方法
static Remote Naming.lookup(String name)
          返回与指定 name 关联的远程对象的引用(一个 stub)。
static void Naming.unbind(String name)
          销毁与远程对象关联的指定名称的绑定。
 

java.rmi.registry 中 NotBoundException 的使用
 

抛出 NotBoundException 的 java.rmi.registry 中的方法
 Remote Registry.lookup(String name)
          返回注册表中绑定到指定 name 的远程引用。
 void Registry.unbind(String name)
          移除此注册表中指定的 name 绑定。
 


JavaTM Platform
Standard Ed. 6

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

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