org.objectweb.carol.jndi.enc.java
Class CompNamingContext.ListOfBindings

java.lang.Object
  extended byorg.objectweb.carol.jndi.enc.java.CompNamingContext.ListOfNames
      extended byorg.objectweb.carol.jndi.enc.java.CompNamingContext.ListOfBindings
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration
Enclosing class:
CompNamingContext

protected class CompNamingContext.ListOfBindings
extends CompNamingContext.ListOfNames

Implementation of the NamingEnumeration for listBindings operations


Method Summary
 java.lang.Object next()
          It returns a Binding instead of a NameClassPair * Retrieves the next element in the enumeration.
 
Methods inherited from class org.objectweb.carol.jndi.enc.java.CompNamingContext.ListOfNames
close, getBindings, getNames, hasMore, hasMoreElements, nextElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public java.lang.Object next()
                      throws javax.naming.NamingException
It returns a Binding instead of a NameClassPair * Retrieves the next element in the enumeration.

Specified by:
next in interface javax.naming.NamingEnumeration
Overrides:
next in class CompNamingContext.ListOfNames
Returns:
The possibly null element in the enumeration. null is only valid for enumerations that can return null (e.g. Attribute.getAll() returns an enumeration of attribute values, and an attribute value can be null).
Throws:
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.