Close
jGuru Forums
Posted By: Bhaskar_Kommuru Posted On: Friday, April 5, 2002 04:10 AM
Which is the correct way to list the contents of a JNDI naming service? A: NamingEnumeration namesList = context.getContents(someContextName); B: NamingEnumeration namesList = context.list(someContextName); C: Enumeration namesList = context.getContents(someContextName); D: Enumeration namesList = context.listContents(someContextName);
Re: Which is the correct way to list the contents of a JNDI naming service?
Posted By: Tonio_Caputo Posted On: Friday, April 5, 2002 01:03 PM
The answer is in javadoc see java.naming.Context.