org.apache.avalon.excalibur.naming
Class AbstractNamingEnumeration

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

public abstract class AbstractNamingEnumeration
extends java.lang.Object
implements javax.naming.NamingEnumeration

Class for building NamingEnumerations.

Version:
$Revision: 1.2 $
Author:
Peter Donald

Field Summary
protected  Namespace m_namespace
           
protected  javax.naming.Context m_owner
           
 
Constructor Summary
AbstractNamingEnumeration(javax.naming.Context owner, Namespace namespace)
           
 
Method Summary
 void close()
           
 boolean hasMore()
           
 java.lang.Object nextElement()
           
protected  java.lang.Object resolve(java.lang.String name, java.lang.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 javax.naming.Context m_owner

m_namespace

protected Namespace m_namespace
Constructor Detail

AbstractNamingEnumeration

public AbstractNamingEnumeration(javax.naming.Context owner,
                                 Namespace namespace)
Method Detail

hasMore

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

nextElement

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

resolve

protected java.lang.Object resolve(java.lang.String name,
                                   java.lang.Object object)
                            throws javax.naming.NamingException

close

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


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.