|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.module.ognl.expression.OgnlExpressionEvaluator
public class OgnlExpressionEvaluator
An expression evaluator that uses OGNL as the expression language
Field Summary | |
---|---|
protected Log |
logger
logger used by this class |
static String |
NAME
|
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
OgnlExpressionEvaluator()
|
Method Summary | |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources. |
Object |
evaluate(String expression,
MuleMessage message)
Extracts a single property from the message |
String |
getName()
Gets the name of the object |
void |
setName(String name)
Sets the name of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
protected final transient Log logger
Constructor Detail |
---|
public OgnlExpressionEvaluator()
Method Detail |
---|
public Object evaluate(String expression, MuleMessage message)
ExpressionEvaluator
evaluate
in interface ExpressionEvaluator
expression
- the property expression or expressionmessage
- the message to extract from
public void setName(String name)
NamedObject
setName
in interface NamedObject
name
- the name of the objectpublic String getName()
NamedObject
getName
in interface NamedObject
public void dispose()
Disposable
dispose
in interface Disposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |