public class ServerShutdownEvent extends ApplicationShutdownEvent
EmbeddedServer
shuts down.source
Constructor and Description |
---|
ServerShutdownEvent(EmbeddedServer embeddedServer)
Constructs a prototypical Event.
|
Modifier and Type | Method and Description |
---|---|
EmbeddedServer |
getSource() |
toString
public ServerShutdownEvent(EmbeddedServer embeddedServer)
embeddedServer
- object on which the Event initially occurred.IllegalArgumentException
- if source is null.public EmbeddedServer getSource()
getSource
in class AbstractEmbeddedApplicationEvent