Class RefreshEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.runtime.context.scope.refresh.RefreshEvent
- All Implemented Interfaces:
Serializable
An ApplicationEvent
for handling refreshes.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConstructs a refresh Event that refreshes all keys.RefreshEvent
(Map<String, Object> changes) Constructs a prototypical Event. -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
RefreshEvent
Constructs a prototypical Event.- Parameters:
changes
- The keys that changed and the previous values of said keys- Throws:
IllegalArgumentException
- if source is null.
-
RefreshEvent
public RefreshEvent()Constructs a refresh Event that refreshes all keys.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-