软件包 | 描述 |
---|---|
java.rmi |
提供RMI包。
|
java.rmi.registry |
提供了一种用于RMI注册类和接口。
|
Modifier and Type | Method and Description |
---|---|
static Remote |
Naming.lookup(String name)
返回一个引用,一个存根,对具有指定
name 有关远程对象。
|
static void |
Naming.unbind(String name)
破坏与远程对象关联的指定名称的绑定。
|
Modifier and Type | Method and Description |
---|---|
Remote |
Registry.lookup(String name)
返回远程引用绑定到该注册表指定的
name 。
|
void |
Registry.unbind(String name)
删除绑定在这个注册表中指定的
name 。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.