Revise Javadoc regarding new ApplicationContext pause() support

See gh-35269
This commit is contained in:
Sam Brannen
2025-08-04 11:50:47 +03:00
parent 4bfc129f84
commit e590341ca7
6 changed files with 12 additions and 12 deletions
@@ -223,7 +223,7 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
/**
* Pause all beans in this application context if necessary, and subsequently
* restart all auto-startup beans, effectively restoring the lifecycle state
* after {@link #refresh()} (typically after a preceding {@link #stop()} call
* after {@link #refresh()} (typically after a preceding {@link #pause()} call
* when a full {@link #start()} of even lazy-starting beans is to be avoided).
* @since 7.0
* @see #pause()
@@ -35,8 +35,8 @@ import org.springframework.context.ConfigurableApplicationContext;
public class ContextPausedEvent extends ContextStoppedEvent {
/**
* Create a new {@code ContextRestartedEvent}.
* @param source the {@code ContextPausedEvent} that has been restarted
* Create a new {@code ContextPausedEvent}.
* @param source the {@code ApplicationContext} that has been paused
* (must not be {@code null})
*/
public ContextPausedEvent(ApplicationContext source) {