The Naming class of Java RMIregistry Flashcards
1
Q
This method is used by a server to register the identifier of a remote object by name
A
void rebind (String name, Remote obj)
2
Q
This method can 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.
A
void bind (String name, Remote obj)
3
Q
This method removes a binding.
A
void unbind (String name, Remote obj)
4
Q
This method is used by clients to look up a remote object by name. A remote object reference is returned
A
Remote lookup(String name)
5
Q
This method returns an array of Strings containing the names bound in the registry.
A
String [] list()