org.springframework.mock.jndi
Class SimpleNamingContext.NameClassPairEnumeration

java.lang.Object
  extended by org.springframework.mock.jndi.SimpleNamingContext.AbstractNamingEnumeration<javax.naming.NameClassPair>
      extended by org.springframework.mock.jndi.SimpleNamingContext.NameClassPairEnumeration
All Implemented Interfaces:
java.util.Enumeration<javax.naming.NameClassPair>, javax.naming.NamingEnumeration<javax.naming.NameClassPair>
Enclosing class:
SimpleNamingContext

private static class SimpleNamingContext.NameClassPairEnumeration
extends SimpleNamingContext.AbstractNamingEnumeration<javax.naming.NameClassPair>


Constructor Summary
private SimpleNamingContext.NameClassPairEnumeration(SimpleNamingContext context, java.lang.String root)
           
 
Method Summary
protected  javax.naming.NameClassPair createObject(java.lang.String strippedName, java.lang.Object obj)
           
 
Methods inherited from class org.springframework.mock.jndi.SimpleNamingContext.AbstractNamingEnumeration
close, hasMore, hasMoreElements, next, nextElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNamingContext.NameClassPairEnumeration

private SimpleNamingContext.NameClassPairEnumeration(SimpleNamingContext context,
                                                     java.lang.String root)
                                              throws javax.naming.NamingException
Throws:
javax.naming.NamingException
Method Detail

createObject

protected javax.naming.NameClassPair createObject(java.lang.String strippedName,
                                                  java.lang.Object obj)
Specified by:
createObject in class SimpleNamingContext.AbstractNamingEnumeration<javax.naming.NameClassPair>