Class JuelScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.camunda.bpm.engine.impl.scripting.engine.JuelScriptEngine
- All Implemented Interfaces:
ScriptEngine
ScriptEngine that used JUEL for script evaluation and compilation (JSR-223).
Uses EL 1.1 if available, to resolve expressions. Otherwise it reverts to EL
1.0, using
ExpressionFactoryResolver.- Author:
- Frederik Heremans
-
Field Summary
Fields inherited from class javax.script.AbstractScriptEngine
contextFields inherited from interface javax.script.ScriptEngine
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneval(Reader reader, ScriptContext scriptContext) eval(String script, ScriptContext scriptContext) static voidimportFunctions(ScriptContext ctx, String namespace, Object obj) Methods inherited from class javax.script.AbstractScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
-
Constructor Details
-
JuelScriptEngine
-
JuelScriptEngine
public JuelScriptEngine()
-
-
Method Details
-
eval
- Throws:
ScriptException
-
eval
- Throws:
ScriptException
-
getFactory
-
createBindings
-
importFunctions
-