public class ContextNames extends ContextBindings
| Constructor and Description |
|---|
ContextNames(Map table)
Creates a ContextNames object based upon an a Map of names and the objects
the names are bound to.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
next()
Returns a
NameClassPair created from the next available name. |
Object |
nextElement()
Returns a
NameClassPair created from the next available name. |
close, hasMore, hasMoreElementspublic ContextNames(Map table)
table is modified after instantiation
of ContextBindings, behavior is undefined and should be considered invalid.table - The table upon which the ContextBindings is based.public Object nextElement()
NameClassPair created from the next available name.nextElement in interface EnumerationnextElement in class ContextBindingspublic Object next() throws NamingException
NameClassPair created from the next available name.next in interface NamingEnumerationnext in class ContextBindingsNamingException - if a naming exception occursCopyright © 2020. All rights reserved.