当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
Selector (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
org.jboss.mq.selectors
Class Selector
java.lang.Object
   org.jboss.mq.selectors.Selector
org.jboss.mq.selectors.Selector
- public class Selector- extends Object
This class implements a Message Selector.
- Version:
- $Revision: 1.16 $
- Author:
- Norbert Lataille (Norbert.Lataille@m4x.org), Juha Lindfors (jplindfo@helsinki.fi), Jason Dillon, Scott.Stark@jboss.org
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
selector
public String selector
identifiers
public HashMap identifiers
result
public Object result
Selector
public Selector(String sel)
         throws javax.jms.InvalidSelectorException
getSelectorParserClass
public static Class getSelectorParserClass()
- Get the class that implements the ISelectorParser interface to be used by
 Selector instances.
 
- 
 
setSelectorParserClass
public static void setSelectorParserClass(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 mes)
             throws javax.jms.JMSException
- 
- Throws:
- javax.jms.JMSException
 
test
public boolean test(SpyMessage msg)
             throws javax.jms.JMSException
- 
- Throws:
- javax.jms.JMSException
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.