Class ServerShutdownEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
io.micronaut.runtime.event.ApplicationShutdownEvent
io.micronaut.runtime.server.event.ServerShutdownEvent
- All Implemented Interfaces:
Serializable
Event fired when the
EmbeddedServer
shuts down.- Since:
- 1.0
- Author:
- graemerocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionServerShutdownEvent
(EmbeddedServer embeddedServer) Constructs a prototypical Event. -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ServerShutdownEvent
Constructs a prototypical Event.- Parameters:
embeddedServer
- object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classAbstractEmbeddedApplicationEvent
-