List of usage examples for org.springframework.boot.web.servlet.context ServletWebServerInitializedEvent ServletWebServerInitializedEvent
public ServletWebServerInitializedEvent(WebServer webServer,
ServletWebServerApplicationContext applicationContext)
From source file:org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.java
@Override protected void finishRefresh() { super.finishRefresh(); WebServer webServer = startWebServer(); if (webServer != null) { publishEvent(new ServletWebServerInitializedEvent(webServer, this)); }/*from www . j av a 2 s. co m*/ }