Interface ModificationEventRunner


public interface ModificationEventRunner
Run the event listener notifications.

Supply this using service loading to for example run the event listener notification in the background using an ExecutorService.

The default is for event listener notification to be executed using the same thread that is making the modifications to the configuration.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(Runnable onChangeNotifyTask)
    Run the task of notifying all the event listeners of a modification event to the configuration.
  • Method Details

    • run

      void run(Runnable onChangeNotifyTask)
      Run the task of notifying all the event listeners of a modification event to the configuration.
      Parameters:
      onChangeNotifyTask - The task to be executed notifying listeners of changes to the configuration.