File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,16 @@ out-of-container tests for code that depends on environment-specific properties.
7777[[mock-objects-jndi]]
7878==== JNDI
7979
80- The `org.springframework.mock.jndi` package contains an implementation of the JNDI SPI,
81- which you can use to set up a simple JNDI environment for test suites or stand-alone
80+ The `org.springframework.mock.jndi` package contains a partial implementation of the JNDI
81+ SPI, which you can use to set up a simple JNDI environment for test suites or stand-alone
8282applications. If, for example, JDBC `DataSource` instances get bound to the same JNDI
8383names in test code as they do in a Java EE container, you can reuse both application code
8484and configuration in testing scenarios without modification.
8585
86+ WARNING: The mock JNDI support in the `org.springframework.mock.jndi` package is
87+ officially deprecated as of Spring Framework 5.2 in favor of complete solutions from third
88+ parties such as https://github.com/h-thurow/Simple-JNDI[Simple-JNDI].
89+
8690
8791[[mock-objects-servlet]]
8892==== Servlet API
You can’t perform that action at this time.
0 commit comments