void
rebind (String name, Remote obj)
This method is used by a
server to register the identifier of a remote object by name, as shown
in Figure 15.13, line 3.
void
bind (String name, Remote obj)
This method can
alternatively be used by a server to register a remote object by name, but if the
name is already bound to a remote object reference an exception is
thrown.
void
unbind (String name, Remote obj)
This method removes a binding.
Remote
lookup(String name)
This method is used by
clients to look up a remote object by name, as shown in Figure 15.15 line 1. A remote object reference is
returned.
String
[] list()
This method returns an
array of Strings containing the names bound in the registry.