JBoss Community

Re: List all objects using JNDI

created by Peter Johnson in JNDI and Naming - View the full discussion

The JNDI documentation and javadoc should show you how to do that. Once you have the InitialContext, use the list() method to get its contents. If any of the contents are contexts, cast them to Context and use the list() method. Very much like browsing a file and directory tree.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community