Hi Gary,

try:

        for (enum = context.list("java:comp"); enum.hasMore(); )  {
                System.out.println(enum.next());
        }

Heinz

-----Ursprüngliche Nachricht-----
Von: Gary Shea [mailto:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 10. Oktober 2000 19:41
An: Orion-Interest
Betreff: Orion JNDI implementation

Hey, has anyone tried traversing the JNDI tree from within an Orion
application?  I am unable to use the list() method to traverse down
into the env subtree, either that or there's nothing in the env subtree.

The env subtree is an object of the com.evermind.naming.jv class,
which implements Context, but list() on the env object returns an
empty enumeration.  Is that because it's really empty, or because
evermind provided a null implementation of list()?

Thanks,

        Gary


Reply via email to