org.mule.module.scripting.expression
Class GroovyExpressionEvaluator

java.lang.Object
  extended by org.mule.module.scripting.expression.AbstractScriptExpressionEvaluator
      extended by org.mule.module.scripting.expression.GroovyExpressionEvaluator
All Implemented Interfaces:
ExpressionEvaluator, Disposable, NamedObject

public class GroovyExpressionEvaluator
extends AbstractScriptExpressionEvaluator

An ExpressionEvaluator that allows the user to define Groovy expressions to extract data from the current message. If a POJO is passed in it is accessible from the 'payload' namespace. If a MuleMessage instance is used then it is accessible from the message' namespace and the 'payload' namespace is also available.


Field Summary
static String NAME
           
 
Fields inherited from class org.mule.module.scripting.expression.AbstractScriptExpressionEvaluator
cache
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
GroovyExpressionEvaluator()
           
 
Method Summary
 String getName()
          Gets the name of the object
 
Methods inherited from class org.mule.module.scripting.expression.AbstractScriptExpressionEvaluator
dispose, evaluate, getScript, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

GroovyExpressionEvaluator

public GroovyExpressionEvaluator()
Method Detail

getName

public String getName()
Gets the name of the object

Returns:
the name of the object


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.