org.jboss.mq.selectors
Class Selector
java.lang.Object
org.jboss.mq.selectors.Selector
- public class Selector
- extends java.lang.Object
This class implements a Message Selector.
Constructor Summary |
Selector(java.lang.String sel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selector
public java.lang.String selector
identifiers
public java.util.HashMap identifiers
result
public java.lang.Object result
Selector
public Selector(java.lang.String sel)
throws InvalidSelectorException (src)
getSelectorParserClass
public static java.lang.Class getSelectorParserClass()
- Get the class that implements the ISelectorParser interface to be used by
Selector instances.
setSelectorParserClass
public static void setSelectorParserClass(java.lang.Class parserClass)
- Set the class that implements the ISelectorParser interface to be used by
Selector instances.
- Parameters:
parserClass
- the ISelectorParser implementation. This must have a
public no-arg constructor.
test
public boolean test(SpyMessage.Header (src) mes)
throws JMSException (src)
- Throws:
JMSException (src)
test
public boolean test(SpyMessage (src) msg)
throws JMSException (src)
- Throws:
JMSException (src)