Package io.micronaut.runtime.event
Class ApplicationShutdownEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
io.micronaut.runtime.event.ApplicationShutdownEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServerShutdownEvent
Event fired when an
EmbeddedApplication
shuts down.- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionApplicationShutdownEvent
(EmbeddedApplication<?> source) Constructs a prototypical Event. -
Method Summary
Methods inherited from class io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ApplicationShutdownEvent
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-