Refine ReactorResourceFactory Javadoc

Provides more details about stop/restart
scenario.

See gh-31178
This commit is contained in:
Sébastien Deleuze 2023-09-08 09:10:21 +02:00
parent 94a49c4ed3
commit da7ad71b7f
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ import org.springframework.util.Assert;
* and {@link Lifecycle} and is expected typically to be declared as a
* Spring-managed bean.
*
* <p>Notice that after a {@link Lifecycle} stop/restart, new instances of
* the configured {@link LoopResources} and {@link ConnectionProvider} are
* created, so any references to those should be updated.
*
* @author Rossen Stoyanchev
* @author Brian Clozel
* @author Sebastien Deleuze