This version is still in development and is not considered stable yet. 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 ignore ajc-compiled aspects for Spring AOP proxying, restoring traditional
Spring behavior for scenarios where both weaving and AspectJ auto-proxying are enabled. See
|
|
Indicates the application should run with AOT generated artifacts. See
Ahead of Time Optimizations and
|
|
Instructs Spring to use the |
|
Instructs Spring’s caching infrastructure to ignore the presence of Reactive Streams,
in particular Reactor’s |
|
Instructs Spring to ignore class format exceptions during classpath scanning, in
particular for unsupported class file versions. See
|
|
Property that specifies a common context checkpoint. See
Automatic checkpoint/restore at startup and
|
|
Property for terminating the JVM when the context reaches a specific phase. See
Automatic checkpoint/restore at startup and
|
|
The maximum length for
Spring Expression Language
expressions used in XML bean definitions, |
|
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 |
|
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
|
|
A boolean flag that controls whether errors encountered during AOT processing in the Spring TestContext Framework should result in an exception that fails the overall process. See Ahead of Time Support for Tests. |
|
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 failure threshold for errors encountered while attempting to load an |
|
The default enclosing configuration inheritance mode to use if
|