org.apache.activemq.filter
Class NoLocalExpression

java.lang.Object
  extended by org.apache.activemq.filter.NoLocalExpression
All Implemented Interfaces:
BooleanExpression, Expression

public class NoLocalExpression
extends Object
implements BooleanExpression


Constructor Summary
NoLocalExpression(String connectionId)
           
 
Method Summary
 Object evaluate(MessageEvaluationContext message)
           
 boolean matches(MessageEvaluationContext message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoLocalExpression

public NoLocalExpression(String connectionId)
Method Detail

matches

public boolean matches(MessageEvaluationContext message)
                throws JMSException
Specified by:
matches in interface BooleanExpression
Returns:
true if the expression evaluates to Boolean.TRUE.
Throws:
JMSException

evaluate

public Object evaluate(MessageEvaluationContext message)
                throws JMSException
Specified by:
evaluate in interface Expression
Returns:
the value of this expression
Throws:
JMSException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.