Update WebServerInitEvent docs to reflect ordering w.r.t. refresh

Closes gh-22277
This commit is contained in:
Andy Wilkinson
2020-07-13 12:51:07 +01:00
parent f18b657ff9
commit f52cdf10b3
4 changed files with 11 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,8 +20,8 @@ import org.springframework.boot.web.server.WebServer;
import org.springframework.context.ApplicationEvent;
/**
* Event to be published after the application context is refreshed and the
* {@link WebServer} is ready. Useful for obtaining the local port of a running server.
* Event to be published when the {@link WebServer} is ready. Useful for obtaining the
* local port of a running server.
*
* @author Brian Clozel
* @author Stephane Nicoll

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,9 +20,8 @@ import org.springframework.boot.web.context.WebServerInitializedEvent;
import org.springframework.boot.web.server.WebServer;
/**
* Event to be published after the {@link ReactiveWebServerApplicationContext} is
* refreshed and the {@link WebServer} is ready. Useful for obtaining the local port of a
* running server.
* Event to be published after the {@link WebServer} is ready. Useful for obtaining the
* local port of a running server.
*
* @author Brian Clozel
* @author Stephane Nicoll

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,9 +20,8 @@ import org.springframework.boot.web.context.WebServerInitializedEvent;
import org.springframework.boot.web.server.WebServer;
/**
* Event to be published after the {@link ServletWebServerApplicationContext} is refreshed
* and the {@link WebServer} is ready. Useful for obtaining the local port of a running
* server.
* Event to be published after the {@link WebServer} is ready. Useful for obtaining the
* local port of a running server.
*
* <p>
* Normally it will have been started, but listeners are free to inspect the server and