Improve reference documentation for ContextClosedEvent

Closes gh-23436
This commit is contained in:
Sam Brannen
2019-08-09 13:58:31 +02:00
parent 60ec736264
commit 1925526df5

View File

@@ -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