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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

This method removes a binding.

A

void unbind (String name, Remote obj)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

This method returns an array of Strings containing the names bound in the registry.

A

String [] list()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly