Apache Tuscany SCA Core SPI

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

Version:
$$Rev: 539359 $$ $$Date: 2007-05-18 11:06:21 +0100 (Fri, 18 May 2007) $$

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

Apache Tuscany SCA Core SPI

Apache Tuscany is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache WS PMC.