protected class CompNamingContext.ListOfBindings extends CompNamingContext.ListOfNames
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
next()
It returns a Binding instead of a NameClassPair * Retrieves the next
element in the enumeration.
|
close, getBindings, getNames, hasMore, hasMoreElements, nextElement
public java.lang.Object next() throws javax.naming.NamingException
next
in interface javax.naming.NamingEnumeration
next
in class CompNamingContext.ListOfNames
javax.naming.NamingException
- If a naming exception is encountered while
attempting to retrieve the next element. See NamingException
and its subclasses for the possible naming exceptions.