Can I return all bindings under a naming context into a BindingList by calling list()?
There is no way to return all bindings under a naming context into a BindingList by calling list(), unless you know the number of bindings there are within the naming context and request that number of bindings using the list() function. Alternatively, you can request zero number of bindings using the list() function, which will then return all bindings into the BindingIterator.
Related Questions
- For the List operation on a Context, if more than the actual number of bindings in the naming context is requested, what is number of bindings returned in a BindingList?
- Do the bindings returned into BindingList and BindingIterator in some particular order?
- Can I return all bindings under a naming context into a BindingList by calling list()?