|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jms.server.selector.Selector
public class Selector
This class implements a Message Selector.
| Field Summary | |
|---|---|
java.util.HashMap |
identifiers
|
java.lang.Object |
result
|
java.lang.String |
selector
|
| Constructor Summary | |
|---|---|
Selector(java.lang.String sel)
|
|
| Method Summary | |
|---|---|
boolean |
accept(Message message)
Tests whether the message should be accepted. |
java.lang.String |
getExpression()
|
java.lang.String |
getFilterString()
Return the string representation of the selector |
static java.lang.Class |
getSelectorParserClass()
Get the class that implements the ISelectorParser interface to be used by Selector instances. |
static void |
setSelectorParserClass(java.lang.Class parserClass)
Set the class that implements the ISelectorParser interface to be used by Selector instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String selector
public java.util.HashMap identifiers
public java.lang.Object result
| Constructor Detail |
|---|
public Selector(java.lang.String sel)
throws InvalidSelectorException
InvalidSelectorException| Method Detail |
|---|
public java.lang.String getFilterString()
getFilterString in interface Filterpublic static java.lang.Class getSelectorParserClass()
public static void setSelectorParserClass(java.lang.Class parserClass)
parserClass - the ISelectorParser implementation. This must have a
public no-arg constructor.public java.lang.String getExpression()
public boolean accept(Message message)
Filter
accept in interface Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||