| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jnp.client.Main
This is a test client of the NamingServer. It calls the server in various ways to test the functionality.
The JNDI configuration is provided in the jndi.properties file.
NamingContext| Constructor Summary | |
| Main() | |
| Method Summary | |
| static void | main(String[] args)Start the test | 
|  void | printName(String name) | 
|  void | run()Run the tests | 
|  void | showTree(Context ctx)Show a JNDI context tree on system out. | 
|  void | showTree(Context ctx,
         int maxDepth) | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Main()
| Method Detail | 
public static void main(String[] args) throws Exception
args - 
Exceptionpublic void printName(String name) throws NamingException
NamingExceptionpublic void showTree(Context ctx) throws NamingException
ctx - 
NamingExceptionpublic void showTree(Context ctx, int maxDepth) throws NamingException
NamingExceptionpublic void run()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||