Clarify docs on JNDI properties in Servlet environment

See gh-28488
This commit is contained in:
Arend v. Reinersdorff
2022-05-19 21:23:38 +02:00
committed by Stephane Nicoll
parent a6596e2446
commit 67eb2bbf19
2 changed files with 5 additions and 4 deletions

View File

@@ -9982,9 +9982,8 @@ is configured with two PropertySource objects -- one representing the set of JVM
NOTE: These default property sources are present for `StandardEnvironment`, for use in standalone
applications. {api-spring-framework}/web/context/support/StandardServletEnvironment.html[`StandardServletEnvironment`]
is populated with additional default property sources including servlet config and servlet
context parameters. It can optionally enable a {api-spring-framework}/jndi/JndiPropertySource.html[`JndiPropertySource`].
See the javadoc for details.
is populated with additional default property sources: Servlet config, servlet context parameters and a
{api-spring-framework}/jndi/JndiPropertySource.html[`JndiPropertySource`].
Concretely, when you use the `StandardEnvironment`, the call to `env.containsProperty("my-property")`
returns true if a `my-property` system property or `my-property` environment variable is present at