public class ServletWebServerInitializedEvent extends WebServerInitializedEvent
ServletWebServerApplicationContextis refreshed and the
WebServeris ready. Useful for obtaining the local port of a running server.
Normally it will have been started, but listeners are free to inspect the server and stop and start it if they want to.
|Constructor and Description|
|Modifier and Type||Method and Description|
Access the application context that the server was created in.
public ServletWebServerApplicationContext getApplicationContext()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.