File tree 1 file changed +6
-2
lines changed
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.
77
77
[[mock-objects-jndi]]
78
78
==== JNDI
79
79
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
82
82
applications. If, for example, JDBC `DataSource` instances get bound to the same JNDI
83
83
names in test code as they do in a Java EE container, you can reuse both application code
84
84
and configuration in testing scenarios without modification.
85
85
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
+
86
90
87
91
[[mock-objects-servlet]]
88
92
==== Servlet API
You can’t perform that action at this time.
0 commit comments