Class RhinoEngine
java.lang.Object
net.shibboleth.idp.plugin.scripting.AbstractScriptEngine
net.shibboleth.idp.plugin.scripting.rhino.RhinoEngine
- All Implemented Interfaces:
Compilable,ScriptEngine
A subset of
ScriptEngine implemented using Mozilla rhino with enough function
that EvaluableScript can work with it.
NOTE that this does not (currently) implement Compilable.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface javax.script.ScriptEngine
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.idp.plugin.scripting.AbstractScriptEngine
compile, createBindings, eval, eval, eval, eval, eval, get, getBindings, getContext, getFactory, put, setBindings, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.script.Compilable
compileMethods inherited from interface javax.script.ScriptEngine
createBindings, eval, eval, eval, eval, eval, get, getBindings, getContext, getFactory, put, setBindings, setContext
-
Constructor Details
-
RhinoEngine
public RhinoEngine()
-
-
Method Details
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-