Package | Description |
---|---|
java.rmi |
Provides the RMI package.
|
java.rmi.registry |
Provides a class and two interfaces for the RMI registry.
|
Modifier and Type | Method and Description |
---|---|
static Remote |
Naming.lookup(String name)
Returns a reference, a stub, for the remote object associated
with the specified
name . |
static void |
Naming.unbind(String name)
Destroys the binding for the specified name that is associated
with a remote object.
|
Modifier and Type | Method and Description |
---|---|
Remote |
Registry.lookup(String name)
Returns the remote reference bound to the specified
name in this registry. |
void |
Registry.unbind(String name)
Removes the binding for the specified
name in
this registry. |
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.