jaugment2.directory
Class DirectoryServiceProxy.MyNamingEnumeration

java.lang.Object
  |
  +--jaugment2.directory.DirectoryServiceProxy.MyNamingEnumeration
Enclosing class:
DirectoryServiceProxy

private class DirectoryServiceProxy.MyNamingEnumeration
extends java.lang.Object
implements javax.naming.NamingEnumeration, java.io.Serializable

helper class to convert a String[] to a NamingEnumeration

See Also:
Serialized Form

Field Summary
private  java.lang.String[] names
           
private  int pos
           
 
Constructor Summary
DirectoryServiceProxy.MyNamingEnumeration(java.lang.String[] names)
           
 
Method Summary
 void close()
           
 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, registerNatives, toString, wait, wait, wait
 

Field Detail

names

private java.lang.String[] names

pos

private int pos
Constructor Detail

DirectoryServiceProxy.MyNamingEnumeration

public DirectoryServiceProxy.MyNamingEnumeration(java.lang.String[] names)
Method Detail

close

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

hasMore

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

next

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

hasMoreElements

public boolean hasMoreElements()

nextElement

public java.lang.Object nextElement()