spring-framework / org.springframework.mock.jndi / SimpleNamingContext / lookup

lookup

open fun lookup(lookupName: String): Any

Look up the object with the given name.

Note: Not intended for direct use by applications. Will be used by any standard InitialContext JNDI lookups.

Exceptions

javax.naming.NameNotFoundException - if the object could not be found

open fun lookup(name: Name): Any