|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
For obtaining references to remote objects, ERMI provides a simple remote object registry interface, implemented by ERMI's rmiregistry, that provides methods for storing and retrieving remote object references. The ermi.Naming class provides methods to access a remote object registry.
| Method Summary | |
void |
bind(java.lang.String name,
java.util.Properties ref)
Binds the specified name to a remote object. |
java.util.Vector |
list()
Returns a Vector of the names bound in the registry. |
java.util.Properties |
lookup(java.lang.String name)
Returns a reference, a stub, for the remote object associated with the specified name. |
void |
rebind(java.lang.String name,
java.util.Properties ref)
Rebinds the specified name in the registry. |
void |
unbind(java.lang.String name)
Unbinds the specified name from the registry. |
| Methods inherited from interface ermi.ERemote |
close, copy, getERef, init |
| Method Detail |
public java.util.Properties lookup(java.lang.String name)
throws RemoteException
RemoteException - - if the connection with the event service fails.
NotBoundException - - if the Registry does not contains this Id.
public void bind(java.lang.String name,
java.util.Properties ref)
throws RemoteException
name - Id of the remote objectref - remote object reference to bind
RemoteException - - if the connection with the event service fails.
public void unbind(java.lang.String name)
throws RemoteException
name - Id of the remote object
NotBoundException - - if the Registry does not contains this Id.
RemoteException - - if the connection with the event service fails.
public void rebind(java.lang.String name,
java.util.Properties ref)
throws RemoteException
name - Id of the remote objectref - remote object reference to bind
RemoteException - - if the connection with the event service fails.
public java.util.Vector list()
throws RemoteException
RemoteException - - if the connection with the event service fails.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||