Class ServicesEventHandler
java.lang.Object
net.sf.basedb.clients.web.extensions.service.ServicesEventHandler
- All Implemented Interfaces:
EventListener
,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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(EventType event, ExtensionPoint<?> extensionPoint, Extension<?> extension) Handle an event.
-
Field Details
-
log
-
settings
-
-
Constructor Details
-
ServicesEventHandler
public ServicesEventHandler()
-
-
Method Details
-
handleEvent
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 anEventFilter
that filters out undesired events.- Specified by:
handleEvent
in interfaceEventHandler
- 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
-