public abstract class WebServerInitializedEvent extends ApplicationEvent
WebServer
is ready. Useful for obtaining the local port of a running server.source
Modifier | Constructor and Description |
---|---|
protected |
WebServerInitializedEvent(WebServer source) |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationContext |
getApplicationContext()
Access the application context that the server was created in.
|
abstract String |
getServerId()
Access the
WebServer Id used internally to differentiate application /
management servers. |
WebServer |
getSource()
Access the source of the event (an
WebServer ). |
WebServer |
getWebServer()
Access the
WebServer . |
getTimestamp
toString
protected WebServerInitializedEvent(WebServer source)
public abstract ApplicationContext getApplicationContext()
public WebServer getSource()
WebServer
).getSource
in class EventObject
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.