[jboss-user] [JNDI and Naming] - Re: List all objects using JNDI

Peter Johnson do-not-reply at jboss.com
Fri Apr 13 13:55:47 EDT 2012

Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: List all objects using JNDI"

To view the discussion, visit: https://community.jboss.org/message/729985#729985

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120413/a37fb56d/attachment.html 

More information about the jboss-user mailing list