|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.selector.rv.ValueProvider
/** Value provider for TIBCO/Rendezvous. This implementation allows values to be extracted from Rendezvous messages using a dot notation.
For example, .order.quantity would access the quantity field of the nested sub-message field order, if it exists. If the field does not exist, it returns null.
The reason for requiring a leading dot before field names - includign top level fields - is to provide comptibility between the Rendezvous and JMS value provides.
Method Summary | |
java.lang.Object |
getValue(java.lang.Object identifier,
java.lang.Object correlation)
Get the value for the specified identifier. |
static ValueProvider |
valueOf(com.tibco.tibrv.TibrvMsg msg)
Factory method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ValueProvider valueOf(com.tibco.tibrv.TibrvMsg msg)
msg
- Message to extract values from.
public java.lang.Object getValue(java.lang.Object identifier, java.lang.Object correlation)
getValue
in interface IValueProvider
identifier
- Field identifier.correlation
- Application correlation data. May be null.
NumericValue
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |