org.apache.tuscany.sca.event
Class TrueFilter

java.lang.Object
  extended by org.apache.tuscany.sca.event.TrueFilter
All Implemented Interfaces:
EventFilter

public class TrueFilter
extends java.lang.Object
implements EventFilter

An event filter that always returns a true condition


Constructor Summary
TrueFilter()
           
 
Method Summary
 boolean match(Event event)
          Performs the actual evaluation on an event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrueFilter

public TrueFilter()
Method Detail

match

public boolean match(Event event)
Performs the actual evaluation on an event. Always returns true in this case

Specified by:
match in interface EventFilter
Parameters:
event - The incoming event which is ignored
Returns:
true