public class ContextNames extends ContextBindings
| Constructor and Description |
|---|
ContextNames(java.util.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 |
|---|---|
java.lang.Object |
next()
Returns a
NameClassPair created from the next available name. |
java.lang.Object |
nextElement()
Returns a
NameClassPair created from the next available name. |
close, hasMore, hasMoreElementspublic ContextNames(java.util.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 java.lang.Object nextElement()
NameClassPair created from the next available name.nextElement in interface java.util.EnumerationnextElement in class ContextBindingspublic java.lang.Object next()
throws javax.naming.NamingException
NameClassPair created from the next available name.next in interface javax.naming.NamingEnumerationnext in class ContextBindingsjavax.naming.NamingException - if a naming exception occurs