Class RefreshEvent

java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.runtime.context.scope.refresh.RefreshEvent
All Implemented Interfaces:
Serializable

public class RefreshEvent extends ApplicationEvent

An ApplicationEvent for handling refreshes.

Since:
1.0
Author:
Graeme Rocher
See Also:
  • Constructor Details

    • RefreshEvent

      public RefreshEvent(Map<String,Object> changes)
      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