2.17.2: 2011-06-17

net.sf.basedb.util.extensions.events
Class AllEventsFilter

java.lang.Object
  extended by net.sf.basedb.util.extensions.events.AllEventsFilter
All Implemented Interfaces:
EventFilter

public class AllEventsFilter
extends Object
implements EventFilter

Event filter that passes all events.

Version:
2.8
Author:
nicklas
Last modified
$Date: 2008-09-11 22:08:14 +0200 (Thu, 11 Sep 2008) $

Constructor Summary
AllEventsFilter()
          Create a event type filter that passes all events.
 
Method Summary
 boolean shouldSend(EventType event, ExtensionPoint<?> extensionPoint, Extension<?> extension)
          Determine if the event should be sent to the event handler or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllEventsFilter

public AllEventsFilter()
Create a event type filter that passes all events.

Method Detail

shouldSend

public boolean shouldSend(EventType event,
                          ExtensionPoint<?> extensionPoint,
                          Extension<?> extension)
Description copied from interface: EventFilter
Determine if the event should be sent to the event handler or not.

Specified by:
shouldSend in interface EventFilter
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
Returns:
Always TRUE

2.17.2: 2011-06-17