spring-boot/spring-boot-project
Andy Wilkinson 9c68a2ab87 Integrate child management context with parent context's lifecycle
Previously, the child management context was created when the
parent context's web server was initialized and it wasn't stopped
or closed until the parent context was closed. This resulted in
the child context being left running when the parent context was
stopped. This would then cause a failure when the parent context
was started again as another web server initialized event would be
received and a second child management context would be started.

This commit updates the initialization of the child management
context to integrate it with the lifecycle of the parent context.
The management context is now created the first time the parent
context is started. It is stopped when the parent context is
stopped and restarted if the parent context is started again.
This lifecycle management is done using a phase that ensures
that the child context is not started until the parent context's
web server has been started.

Fixes gh-38502
2023-11-22 19:50:22 +00:00
..
spring-boot Merge branch '3.1.x' 2023-11-22 12:35:58 +00:00
spring-boot-actuator Polish 2023-11-22 10:16:19 +01:00
spring-boot-actuator-autoconfigure Integrate child management context with parent context's lifecycle 2023-11-22 19:50:22 +00:00
spring-boot-autoconfigure Merge branch '3.1.x' 2023-11-22 11:13:12 -08:00
spring-boot-dependencies Upgrade to Spring Integration 6.1.5 2023-11-22 18:23:57 +00:00
spring-boot-devtools Merge branch '3.1.x' 2023-10-31 10:23:13 +01:00
spring-boot-docker-compose Use different default database names for Oracle XE and Oracle Free 2023-11-22 10:48:35 +00:00
spring-boot-docs Merge branch '3.1.x' 2023-11-22 11:15:33 +01:00
spring-boot-parent Polish 2023-11-22 10:16:19 +01:00
spring-boot-starters Merge branch '3.0.x' into 3.1.x 2023-11-21 17:30:54 -06:00
spring-boot-test Merge branch '3.1.x' 2023-11-08 09:53:53 +01:00
spring-boot-test-autoconfigure Polish 2023-11-22 10:16:19 +01:00
spring-boot-testcontainers Add container support for Oracle Free which replaces Oracle XE 2023-11-21 11:51:59 -08:00
spring-boot-tools Polish 2023-11-22 10:16:19 +01:00