net.sf.basedb.clients.web.extensions.service
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: 2008-09-11 22:05:50 +0200 (Thu, 11 Sep 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final Logger log
settings
private Settings settings
ServicesEventHandler
public ServicesEventHandler(Settings settings)
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 happendextensionPoint
- The extension point that the extension
extends, or that the event happened toextension
- The extension the event happend to, or null if the
event happended to the extension point