Merge branch '5.3.x'
This commit is contained in:
commit
2858c1efb5
|
@ -34,9 +34,9 @@ package org.springframework.core.env;
|
||||||
* <p><em>Properties</em> play an important role in almost all applications, and may
|
* <p><em>Properties</em> play an important role in almost all applications, and may
|
||||||
* originate from a variety of sources: properties files, JVM system properties, system
|
* originate from a variety of sources: properties files, JVM system properties, system
|
||||||
* environment variables, JNDI, servlet context parameters, ad-hoc Properties objects,
|
* environment variables, JNDI, servlet context parameters, ad-hoc Properties objects,
|
||||||
* Maps, and so on. The role of the environment object with relation to properties is to
|
* Maps, and so on. The role of the {@code Environment} object with relation to properties
|
||||||
* provide the user with a convenient service interface for configuring property sources
|
* is to provide the user with a convenient service interface for configuring property
|
||||||
* and resolving properties from them.
|
* sources and resolving properties from them.
|
||||||
*
|
*
|
||||||
* <p>Beans managed within an {@code ApplicationContext} may register to be {@link
|
* <p>Beans managed within an {@code ApplicationContext} may register to be {@link
|
||||||
* org.springframework.context.EnvironmentAware EnvironmentAware} or {@code @Inject} the
|
* org.springframework.context.EnvironmentAware EnvironmentAware} or {@code @Inject} the
|
||||||
|
@ -50,7 +50,7 @@ package org.springframework.core.env;
|
||||||
* as of Spring 3.1 is registered by default when using
|
* as of Spring 3.1 is registered by default when using
|
||||||
* {@code <context:property-placeholder/>}.
|
* {@code <context:property-placeholder/>}.
|
||||||
*
|
*
|
||||||
* <p>Configuration of the environment object must be done through the
|
* <p>Configuration of the {@code Environment} object must be done through the
|
||||||
* {@code ConfigurableEnvironment} interface, returned from all
|
* {@code ConfigurableEnvironment} interface, returned from all
|
||||||
* {@code AbstractApplicationContext} subclass {@code getEnvironment()} methods. See
|
* {@code AbstractApplicationContext} subclass {@code getEnvironment()} methods. See
|
||||||
* {@link ConfigurableEnvironment} Javadoc for usage examples demonstrating manipulation
|
* {@link ConfigurableEnvironment} Javadoc for usage examples demonstrating manipulation
|
||||||
|
|
Loading…
Reference in New Issue