mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Revise Javadoc regarding new ApplicationContext pause() support
See gh-35269
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user