|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NameServer
| Method Summary | |
|---|---|
void |
bind(String name,
Reference ref)
Bind the name to the value reference in the name server. |
Reference |
lookup(String name)
Lookup the name in the name server. |
void |
rebind(String name,
Reference oldRef,
Reference newRef)
Rebind the name to the value reference in the name server if the name is currently bound to the specified value reference. |
| Method Detail |
|---|
Reference lookup(String name)
throws IOException
name - the name to be looked up
IOException
void bind(String name,
Reference ref)
throws IOException,
NameAlreadyBoundException
name - the name to be boundref - the reference to bind it to
NameAlreadyBoundException - if the name is
already bound (to a different value reference).
IOException
void rebind(String name,
Reference oldRef,
Reference newRef)
throws IOException,
StaleReferenceException
name - the name to be boundoldRef - the reference to which name is currently boundnewRef - the reference to bind it to
StaleReferenceException - if the name is
bound to something different from oldRef.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||