Class JuelScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.flowable.engine.impl.scripting.JuelScriptEngine
- All Implemented Interfaces:
Compilable
,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
context
Fields 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 void
importFunctions
(ScriptContext ctx, String namespace, Object obj) static void
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
-
compile
- Specified by:
compile
in interfaceCompilable
- Throws:
ScriptException
-
compile
- Specified by:
compile
in interfaceCompilable
- Throws:
ScriptException
-
eval
- Specified by:
eval
in interfaceScriptEngine
- Throws:
ScriptException
-
eval
- Specified by:
eval
in interfaceScriptEngine
- Throws:
ScriptException
-
getFactory
- Specified by:
getFactory
in interfaceScriptEngine
-
createBindings
- Specified by:
createBindings
in interfaceScriptEngine
-
print
-
importFunctions
-