org.openejb.core.ivm.naming
Class IvmContext.MyNamingEnumeration

java.lang.Object
  |
  +--org.openejb.core.ivm.naming.IvmContext.MyNamingEnumeration
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration
Direct Known Subclasses:
IvmContext.MyBindingEnumeration, IvmContext.MyListEnumeration
Enclosing class:
IvmContext

protected abstract class IvmContext.MyNamingEnumeration
extends java.lang.Object
implements javax.naming.NamingEnumeration


Field Summary
(package private)  java.util.Enumeration myEnum
           
 
Constructor Summary
IvmContext.MyNamingEnumeration(NameNode parentNode)
           
 
Method Summary
protected abstract  void buildEnumeration(java.util.Vector vect)
           
 void close()
           
protected  void gatherNodes(NameNode node, java.util.Vector vect)
           
 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
 

Field Detail

myEnum

java.util.Enumeration myEnum
Constructor Detail

IvmContext.MyNamingEnumeration

public IvmContext.MyNamingEnumeration(NameNode parentNode)
Method Detail

buildEnumeration

protected abstract void buildEnumeration(java.util.Vector vect)

gatherNodes

protected void gatherNodes(NameNode node,
                           java.util.Vector vect)

close

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

hasMore

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

next

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

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