public abstract class WebServerInitializedEvent
extends org.springframework.context.ApplicationEvent
WebServer
is ready. Useful for obtaining the local port of a running server.source
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 . |
toString
protected WebServerInitializedEvent(WebServer webServer)
public abstract WebServerApplicationContext getApplicationContext()
public WebServer getSource()
WebServer
).getSource
in class EventObject
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.