|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jnp.client.Main
public class 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 -
Exception
public void printName(String name)
throws NamingException
NamingException
public void showTree(Context ctx)
throws NamingException
ctx -
NamingException
public void showTree(Context ctx,
int maxDepth)
throws NamingException
NamingExceptionpublic void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||