public class Main extends Object implements Runnable
The JNDI configuration is provided in the jndi.properties file.
NamingContext
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
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) |
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
NamingException
Copyright © 2016 JBoss by Red Hat. All rights reserved.