Interface EventHandler

All Superinterfaces:
EventListener
All Known Implementing Classes:
ServicesEventHandler

public interface EventHandler extends EventListener
An event handler receives events about things happening to extensions and extension points. For example, when they are registered or updated. An event handler is usually paired with an EventFilter that sorts out which types of event that should be sent to the event handler.
Version:
2.8
Author:
nicklas
Last modified
$Date: 2008-09-11 22:08:14 +0200 (to, 11 sep 2008) $
  • Method Details

    • handleEvent

      void handleEvent(EventType event, ExtensionPoint<?> extensionPoint, Extension<?> extension)
      Handle an event. Since the types of events are likely to expand in the future, we recommend that the event handler is written so that it only responds to specific event types or that it is paired with an EventFilter that filters out undesired events.
      Parameters:
      event - The event that happend
      extensionPoint - The extension point that the extension extends, or that the event happened to
      extension - The extension the event happend to, or null if the event happended to the extension point