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 source) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.springframework.context.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. |
toStringprotected WebServerInitializedEvent(WebServer source)
public abstract org.springframework.context.ApplicationContext getApplicationContext()
public WebServer getSource()
WebServer).getSource in class EventObjectCopyright © 2017 Pivotal Software, Inc.. All rights reserved.