diff --git a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java index 4d470e88cab..0e54a4a541d 100644 --- a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java +++ b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java @@ -38,7 +38,7 @@ import org.springframework.util.Assert; /** * Reactor-Netty implementation of {@link ClientHttpConnector}. * - *
This class implements {@link Lifecycle} and can be optionally declared + *
This class implements {@link SmartLifecycle} and can be optionally declared * as a Spring-managed bean. * * @author Brian Clozel @@ -90,7 +90,9 @@ public class ReactorClientHttpConnector implements ClientHttpConnector, SmartLif * fixed, shared resources are favored for event loop concurrency. However, * consider declaring a {@link ReactorResourceFactory} bean with * {@code globalResources=true} in order to ensure the Reactor Netty global - * resources are shut down when the Spring ApplicationContext is closed. + * resources are shut down when the Spring ApplicationContext is stopped or closed + * and restarted properly when the Spring ApplicationContext is + * (with JVM Checkpoint Restore for example). * @param resourceFactory the resource factory to obtain the resources from * @param mapper a mapper for further initialization of the created client * @since 5.1