Package io.micronaut.runtime.event
Class AbstractEmbeddedApplicationEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApplicationShutdownEvent
,ApplicationStartupEvent
An abstract event for events specific to server applications.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAbstractEmbeddedApplicationEvent
(EmbeddedApplication<?> embeddedApplication) Constructs a prototypical Event. -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AbstractEmbeddedApplicationEvent
Constructs a prototypical Event.- Parameters:
embeddedApplication
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-