Package org.apache.activemq.filter
Class PropertyExpression
- java.lang.Object
-
- org.apache.activemq.filter.PropertyExpression
-
- All Implemented Interfaces:
Expression
public class PropertyExpression extends Object implements Expression
Represents a property expression
-
-
Constructor Summary
Constructors Constructor Description PropertyExpression(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Objectevaluate(Message message)Objectevaluate(MessageEvaluationContext message)StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PropertyExpression
public PropertyExpression(String name)
-
-
Method Detail
-
evaluate
public Object evaluate(MessageEvaluationContext message) throws JMSException
- Specified by:
evaluatein interfaceExpression- 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:
toStringin classObject- See Also:
Object.toString()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
-