org.globus.ogsa.impl.core.notification.framework
Interface QueryEvaluator

All Known Implementing Classes:
JMSQueryEvaluator

public interface QueryEvaluator

QueryEvaluator evaluates the QueryCriteria to determine if the notification messages should be sent to the sink or not.


Method Summary
 boolean evaluateCriteria(java.lang.String aCriteria, java.lang.String aSubscriptionID)
          Evaluates the criteria to determine if notification mesaage should be sent to the sink.
 

Method Detail

evaluateCriteria

public boolean evaluateCriteria(java.lang.String aCriteria,
                                java.lang.String aSubscriptionID)
Evaluates the criteria to determine if notification mesaage should be sent to the sink.

Parameters:
aCriteria - - the Criteria to the evaluated.
aSubscriptionID - - the SubscriptionID.
Returns:
boolean - True if the criteria is met. - False if the criteria is not met.