public abstract class WebServerInitializedEvent
extends org.springframework.context.ApplicationEvent
WebServer
is ready. Useful for obtaining the
local port of a running server.Modifier | Constructor and Description |
---|---|
protected |
WebServerInitializedEvent(WebServer webServer) |
Modifier and Type | Method and Description |
---|---|
abstract WebServerApplicationContext |
getApplicationContext()
Access the application context that the server was created in.
|
WebServer |
getSource()
Access the source of the event (an
WebServer ). |
WebServer |
getWebServer()
Access the
WebServer . |
protected WebServerInitializedEvent(WebServer webServer)
public abstract WebServerApplicationContext getApplicationContext()