com.caucho.jms.selector
Class OrSelector

java.lang.Object
  extended by com.caucho.jms.selector.Selector
      extended by com.caucho.jms.selector.OrSelector
All Implemented Interfaces:
QueueEntrySelector, java.io.Serializable

public class OrSelector
extends Selector

The base selector.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.caucho.jms.selector.Selector
log, NULL
 
Method Summary
 java.lang.Object evaluate(Message message)
          Evaluate the message.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.jms.selector.Selector
isMatch, isMatch, toBoolean, toDouble, toLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

evaluate

public java.lang.Object evaluate(Message message)
                          throws JMSException
Evaluate the message. The boolean literal selector returns the value of the boolean.

Throws:
JMSException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object