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