java.rmi.registry
public interface Registry extends Remote
Field Summary | |
---|---|
int | REGISTRY_PORT |
Method Summary | |
---|---|
void | bind(String name, Remote obj) |
String[] | list() |
Remote | lookup(String name)
Find and return the reference to the object that was previously bound
to the registry by this name. |
void | rebind(String name, Remote obj) |
void | unbind(String name) |
Parameters: name the name of the object
Returns: the reference to that object on that it is possible to invoke the (usually remote) object methods.
Throws: RemoteException NotBoundException AccessException