org.apache.avalon.excalibur.naming
Class AbstractNamingEnumeration

java.lang.Object
  |
  +--org.apache.avalon.excalibur.naming.AbstractNamingEnumeration
All Implemented Interfaces:
Enumeration, NamingEnumeration

public abstract class AbstractNamingEnumeration
extends Object
implements NamingEnumeration

Class for building NamingEnumerations.

Version:
$Revision: 1.4 $
Author:
Peter Donald

Field Summary
protected  Namespace m_namespace
           
protected  Context m_owner
           
 
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
 

Field Detail

m_owner

protected Context m_owner

m_namespace

protected Namespace m_namespace
Constructor Detail

AbstractNamingEnumeration

public AbstractNamingEnumeration(Context owner,
                                 Namespace namespace)
Method Detail

hasMore

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

nextElement

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

resolve

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

close

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


"Copyright © 2000-2002 Apache Jakarta Project. All Rights Reserved."