Inheritance diagram for NamingServiceImpl:
Private Methods | |
public | NamingServiceImpl () |
public String | resolve (String name) |
public boolean | bind (String name, String cname, boolean replace) |
public boolean | unbind (String name) |
public Binding [] | enumerate () |
Private Attributes | |
private Hashtable | names = new Hashtable() |
Static Private Methods | |
public void | main (String[] args) |
public void | usage () |
MPS uses an MPS server to locate its own server names!
Note that this class has a main
method - it is its own application as well: a standalone MPS name server.
Definition at line 54 of file NamingServiceImpl.java.
|
Definition at line 113 of file NamingServiceImpl.java. |
|
Implement the naming-service name binding function.
Definition at line 143 of file NamingServiceImpl.java. Referenced by main(). |
|
Get a list of all the name-value pairs in the current running database.
Definition at line 177 of file NamingServiceImpl.java. |
|
Main method for the standalone naming server.
Definition at line 58 of file NamingServiceImpl.java. |
|
Implement the naming-service resolution function.
Definition at line 122 of file NamingServiceImpl.java. |
|
Implement the naming-service name unbinding function.
Definition at line 161 of file NamingServiceImpl.java. |
|
Display a friendly application-usage message to stdout.
Definition at line 99 of file NamingServiceImpl.java. |
|
This class uses a naive hashtable-lookup to map objectNames onto resolvedNames (aka canonical names).
Definition at line 111 of file NamingServiceImpl.java. |