@NonNullApi@NonNullFields

Package org.springframework.mock.jndi

Deprecated as of Spring Framework 5.2 in favor of complete solutions from third parties such as Simple-JNDI.

The simplest implementation of the JNDI SPI that could possibly work.

Useful for setting up a simple JNDI environment for test suites or stand-alone applications. If, for example, JDBC DataSources get bound to the same JNDI names as within a Java EE container, both application code and configuration can be reused without changes.