org.apache.activemq.filter
Class PropertyExpression

java.lang.Object
  extended by org.apache.activemq.filter.PropertyExpression
All Implemented Interfaces:
Expression

public class PropertyExpression
extends Object
implements Expression

Represents a property expression


Constructor Summary
PropertyExpression(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 Object evaluate(Message message)
           
 Object evaluate(MessageEvaluationContext message)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyExpression

public PropertyExpression(String name)
Method Detail

evaluate

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

evaluate

public Object evaluate(Message message)
                throws JMSException
Throws:
JMSException

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object o)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)


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