org.codehaus.spice.jndikit
Class AbstractNamingEnumeration

java.lang.Object
  extended by org.codehaus.spice.jndikit.AbstractNamingEnumeration
All Implemented Interfaces:
Enumeration, NamingEnumeration

public abstract class AbstractNamingEnumeration
extends Object
implements NamingEnumeration

Class for building NamingEnumerations.

Version:
$Revision: 1.1 $
Author:
Peter Donald

Constructor Summary
AbstractNamingEnumeration(Context owner, Namespace namespace)
           
 
Method Summary
 void close()
           
 boolean hasMore()
           
 Object nextElement()
           
protected  Object resolve(String name, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.naming.NamingEnumeration
next
 
Methods inherited from interface java.util.Enumeration
hasMoreElements
 

Constructor Detail

AbstractNamingEnumeration

public AbstractNamingEnumeration(Context owner,
                                 Namespace namespace)
Method Detail

hasMore

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

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration

resolve

protected Object resolve(String name,
                         Object object)
                  throws NamingException
Throws:
NamingException

close

public void close()
Specified by:
close in interface NamingEnumeration


Copyright © 1999-2008 Codehaus. All Rights Reserved.