winstone.jndi
Class WinstoneNameEnumeration

java.lang.Object
  extended by winstone.jndi.WinstoneNameEnumeration
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration

public class WinstoneNameEnumeration
extends java.lang.Object
implements javax.naming.NamingEnumeration

Enumeration across the names/classes of the bindings in a particular context. Used by the list() method.

Version:
$Id: WinstoneNameEnumeration.java,v 1.3 2006/02/28 07:32:48 rickknowles Exp $
Author:
Rick Knowles

Constructor Summary
WinstoneNameEnumeration(java.util.Map bindings)
          Constructor
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 java.lang.Object next()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WinstoneNameEnumeration

public WinstoneNameEnumeration(java.util.Map bindings)
Constructor

Method Detail

close

public void close()
           throws javax.naming.NamingException
Specified by:
close in interface javax.naming.NamingEnumeration
Throws:
javax.naming.NamingException

hasMore

public boolean hasMore()
                throws javax.naming.NamingException
Specified by:
hasMore in interface javax.naming.NamingEnumeration
Throws:
javax.naming.NamingException

next

public java.lang.Object next()
                      throws javax.naming.NamingException
Specified by:
next in interface javax.naming.NamingEnumeration
Throws:
javax.naming.NamingException

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration


Copyright © 2013. All Rights Reserved.