java.rmi.registry
| Modifier and Type | Field and Description |
|---|---|
static int |
REGISTRY_PORT |
| Modifier and Type | Method and Description |
|---|---|
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) |
static final int REGISTRY_PORT
Remote lookup(String name) throws RemoteException, NotBoundException, AccessException
name - the name of the objectRemoteExceptionNotBoundExceptionAccessExceptionvoid bind(String name, Remote obj) throws RemoteException, AlreadyBoundException, AccessException
void unbind(String name) throws RemoteException, NotBoundException, AccessException
void rebind(String name, Remote obj) throws RemoteException, AccessException
RemoteExceptionAccessExceptionString[] list() throws RemoteException, AccessException
RemoteExceptionAccessException