Improve reference documentation for ContextClosedEvent
Closes gh-23436
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user