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

bind

open fun bind(name: String, obj: Any): Unit

Bind the given object to the given name. Note: Not intended for direct use by applications if setting up a JVM-level JNDI environment. Use SimpleNamingContextBuilder to set up JNDI bindings then.

See Also
org.springframework.mock.jndi.SimpleNamingContextBuilder#bind

open fun bind(name: Name, obj: Any): Unit