Class ServicesEventHandler

java.lang.Object
net.sf.basedb.clients.web.extensions.service.ServicesEventHandler
All Implemented Interfaces:
EventListener, EventHandler

public class ServicesEventHandler extends Object implements EventHandler
Event handler for managing services when new extension are added or existing extension are updated or deleted.
Version:
2.8
Author:
nicklas
Last modified
$Date: 2015-04-20 11:08:18 +0200 (må, 20 apr 2015) $
  • Field Details

    • log

      private static final Logger log
    • settings

      private final Settings settings
  • Constructor Details

    • ServicesEventHandler

      public ServicesEventHandler()
  • Method Details

    • handleEvent

      public void handleEvent(EventType event, ExtensionPoint<?> extensionPoint, Extension<?> extension)
      Description copied from interface: EventHandler
      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.
      Specified by:
      handleEvent in interface EventHandler
      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