Example usage for org.springframework.boot.web.servlet.context ServletWebServerInitializedEvent ServletWebServerInitializedEvent

List of usage examples for org.springframework.boot.web.servlet.context ServletWebServerInitializedEvent ServletWebServerInitializedEvent

Introduction

In this page you can find the example usage for org.springframework.boot.web.servlet.context ServletWebServerInitializedEvent ServletWebServerInitializedEvent.

Prototype

public ServletWebServerInitializedEvent(WebServer webServer,
            ServletWebServerApplicationContext applicationContext) 

Source Link

Usage

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*/
}