From b1bf1b0c823ea918340ee24b57d484378a9e9894 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Tue, 9 Jan 2024 14:22:02 +0100 Subject: [PATCH] Update Spring Properties section of reference manual This commit documents the following Spring properties in the reference manual. - spring.aot.enabled - spring.cache.reactivestreams.ignore - spring.classformat.ignore - spring.context.checkpoint - spring.context.exit Closes gh-31987 --- .../modules/ROOT/pages/appendix.adoc | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/framework-docs/modules/ROOT/pages/appendix.adoc b/framework-docs/modules/ROOT/pages/appendix.adoc index 7052552ea92..74a82445498 100644 --- a/framework-docs/modules/ROOT/pages/appendix.adoc +++ b/framework-docs/modules/ROOT/pages/appendix.adoc @@ -23,12 +23,44 @@ The following table lists all currently supported Spring properties. |=== | Name | Description +| `spring.aot.enabled` +| Indicates the application should run with AOT generated artifacts. See +xref:core/aot.adoc[Ahead of Time Optimizations] and +{spring-framework-api}++/aot/AotDetector.html#AOT_ENABLED++[`AotDetector`] +for details. + | `spring.beaninfo.ignore` | Instructs Spring to use the `Introspector.IGNORE_ALL_BEANINFO` mode when calling the JavaBeans `Introspector`. See {spring-framework-api}++/beans/StandardBeanInfoFactory.html#IGNORE_BEANINFO_PROPERTY_NAME++[`CachedIntrospectionResults`] for details. +| `spring.cache.reactivestreams.ignore` +| Instructs Spring's caching infrastructure to ignore the presence of Reactive Streams, +in particular Reactor's `Mono`/`Flux` in `@Cacheable` method return type declarations. See +{spring-framework-api}++/cache/interceptor/CacheAspectSupport.html#IGNORE_REACTIVESTREAMS_PROPERTY_NAME++[`CacheAspectSupport`] +for details. + +| `spring.classformat.ignore` +| Instructs Spring to ignore class format exceptions during classpath scanning, in +particular for unsupported class file versions. See +{spring-framework-api}++/context/annotation/ClassPathScanningCandidateComponentProvider.html#IGNORE_CLASSFORMAT_PROPERTY_NAME++[`ClassPathScanningCandidateComponentProvider`] +for details. + +| `spring.context.checkpoint` +| Property that specifies a common context checkpoint. See +xref:integration/checkpoint-restore.adoc#_automatic_checkpointrestore_at_startup[Automatic +checkpoint/restore at startup] and +{spring-framework-api}++/context/support/DefaultLifecycleProcessor.html#CHECKPOINT_PROPERTY_NAME++[`DefaultLifecycleProcessor`] +for details. + +| `spring.context.exit` +| Property for terminating the JVM when the context reaches a specific phase. See +xref:integration/checkpoint-restore.adoc#_automatic_checkpointrestore_at_startup[Automatic +checkpoint/restore at startup] and +{spring-framework-api}++/context/support/DefaultLifecycleProcessor.html#EXIT_PROPERTY_NAME++[`DefaultLifecycleProcessor`] +for details. + | `spring.context.expression.maxLength` | The maximum length for xref:core/expressions/evaluation.adoc#expressions-parser-configuration[Spring Expression Language]