From 1925526df5e45a44f4b0a2c5426c6bf5920aebb2 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 9 Aug 2019 13:58:31 +0200 Subject: [PATCH] Improve reference documentation for ContextClosedEvent Closes gh-23436 --- src/docs/asciidoc/core/core-beans.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index 581dde8d36..37208b760c 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -8624,10 +8624,10 @@ The following table describes the standard events that Spring provides: `start()` call. | `ContextClosedEvent` -| Published when the `ApplicationContext` is closed by using the `close()` method on the - `ConfigurableApplicationContext` interface. Here, "`closed`" means that all singleton - beans are destroyed. A closed context reaches its end of life. It cannot be refreshed - or restarted. +| Published when the `ApplicationContext` is being closed by using the `close()` method + on the `ConfigurableApplicationContext` interface or via a JVM shutdown hook. Here, + "closed" means that all singleton beans will be destroyed. Once the context is closed, + it reaches its end of life and cannot be refreshed or restarted. | `RequestHandledEvent` | A web-specific event telling all beans that an HTTP request has been serviced. This