Package io.micronaut.context.event
Class ApplicationEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractEmbeddedApplicationEvent,AbstractServiceInstanceEvent,BeanContextEvent,CircuitClosedEvent,CircuitOpenEvent,FileChangedEvent,HttpRequestReceivedEvent,HttpRequestTerminatedEvent,RefreshEvent,RetryEvent,WebSocketEvent
An
ApplicationEvent is a user specified event object.- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ApplicationEvent
Constructs a prototypical Event.- Parameters:
source- The object on which the Event initially occurred.- Throws:
IllegalArgumentException- if source is null.
-