org.granite.gravity.selector
Class MessageEvaluationContext

java.lang.Object
  extended by org.granite.gravity.selector.MessageEvaluationContext

public class MessageEvaluationContext
extends Object

MessageEvaluationContext is used to cache selection results. A message usually has multiple selectors applied against it. Some selector have a high cost of evaluating against the message. Those selectors may whish to cache evaluation results associated with the message in the MessageEvaluationContext.

Version:
$Revision: 1.4 $

Constructor Summary
MessageEvaluationContext(Message message)
           
 
Method Summary
 Message getMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageEvaluationContext

public MessageEvaluationContext(Message message)
Method Detail

getMessage

public Message getMessage()