For the latest stable version, please use Spring Framework 6.2.1! |
Appendix
This part of the reference documentation covers topics that apply to multiple modules within the core Spring Framework.
Spring Properties
SpringProperties
is a static holder
for properties that control certain low-level aspects of the Spring Framework. Users can
configure these properties via JVM system properties or programmatically via the
SpringProperties.setProperty(String key, String value)
method. The latter may be
necessary if the deployment environment disallows custom JVM system properties. As an
alternative, these properties may be configured in a spring.properties
file in the root
of the classpath — for example, deployed within the application’s JAR file.
The following table lists all currently supported Spring properties.
Name | Description |
---|---|
|
Instructs Spring to use the |
|
The mode to use when compiling expressions for the Spring Expression Language. |
|
Instructs Spring to ignore operating system environment variables if a Spring
|
|
Instructs Spring to ignore the components index located in
|
|
Instructs Spring to ignore |
|
Instructs Spring to ignore a default JNDI environment, as an optimization for scenarios
where nothing is ever to be found for such JNDI fallback searches to begin with, avoiding
the repeated JNDI lookup overhead. See
|
|
Instructs Spring to ignore Objenesis, not even attempting to use it. See
|
|
The default test constructor autowire mode to use if |
|
The maximum size of the context cache in the Spring TestContext Framework. See Context Caching. |
|
The default enclosing configuration inheritance mode to use if
|