Browse Source

Polish "Clarify docs on JNDI properties in Servlet environment"

See gh-28488
pull/28959/head
Stephane Nicoll 4 years ago
parent
commit
982d8ea84a
  1. 5
      src/docs/asciidoc/core/core-beans.adoc

5
src/docs/asciidoc/core/core-beans.adoc

@ -9982,8 +9982,9 @@ is configured with two PropertySource objects -- one representing the set of JVM @@ -9982,8 +9982,9 @@ 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: Servlet config, servlet context parameters and a
{api-spring-framework}/jndi/JndiPropertySource.html[`JndiPropertySource`].
is populated with additional default property sources including servlet config, servlet
context parameters, and a {api-spring-framework}/jndi/JndiPropertySource.html[`JndiPropertySource`]
if JNDI is available.
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

Loading…
Cancel
Save