|
||||||||||
| 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 (src) | Constructor Summary | |
Main()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Start the test |
void |
printName(java.lang.String name)
|
void |
run()
Run the tests |
void |
showTree(javax.naming.Context ctx)
Show a JNDI context tree on system out. |
void |
showTree(javax.naming.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(java.lang.String[] args)
throws java.lang.Exception
args -
java.lang.Exception
public void printName(java.lang.String name)
throws javax.naming.NamingException
javax.naming.NamingException
public void showTree(javax.naming.Context ctx)
throws javax.naming.NamingException
ctx -
javax.naming.NamingException
public void showTree(javax.naming.Context ctx,
int maxDepth)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||