com.googlecode.mycontainer.kernel.naming
Class MyNamingEnumeration<T>

java.lang.Object
  extended by com.googlecode.mycontainer.kernel.naming.MyNamingEnumeration<T>
All Implemented Interfaces:
java.util.Enumeration<T>, javax.naming.NamingEnumeration<T>

public class MyNamingEnumeration<T>
extends java.lang.Object
implements javax.naming.NamingEnumeration<T>


Constructor Summary
MyNamingEnumeration(java.util.Iterator<T> iterator)
           
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 T next()
           
 T nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyNamingEnumeration

public MyNamingEnumeration(java.util.Iterator<T> iterator)
Method Detail

close

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

hasMore

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

next

public T next()
       throws javax.naming.NamingException
Specified by:
next in interface javax.naming.NamingEnumeration<T>
Throws:
javax.naming.NamingException

hasMoreElements

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

nextElement

public T nextElement()
Specified by:
nextElement in interface java.util.Enumeration<T>


Copyright © 2008-2013 Mycontainer Team. All Rights Reserved.