Package io.micronaut.runtime.event
Class ApplicationStartupEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
io.micronaut.runtime.event.ApplicationStartupEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServerStartupEvent
Event fired when an
EmbeddedApplication
starts up.- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionApplicationStartupEvent
(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
-
ApplicationStartupEvent
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-