Class AbstractScriptEngine
java.lang.Object
net.shibboleth.idp.plugin.scripting.AbstractScriptEngine
- All Implemented Interfaces:
Compilable,ScriptEngine
Enough boiler plate to allow us to implement a
ScriptEngine sufficient for our own use.-
Field Summary
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 context) eval(String script, ScriptContext context) getBindings(int scope) voidvoidsetBindings(Bindings bindings, int scope) voidsetContext(ScriptContext context) Methods 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
eval
-
Constructor Details
-
AbstractScriptEngine
public AbstractScriptEngine()
-
-
Method Details
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
put
- Specified by:
putin interfaceScriptEngine
-
get
- Specified by:
getin interfaceScriptEngine
-
getBindings
- Specified by:
getBindingsin interfaceScriptEngine
-
setBindings
- Specified by:
setBindingsin interfaceScriptEngine
-
createBindings
- Specified by:
createBindingsin interfaceScriptEngine
-
getContext
- Specified by:
getContextin interfaceScriptEngine
-
setContext
- Specified by:
setContextin interfaceScriptEngine
-
getFactory
- Specified by:
getFactoryin interfaceScriptEngine
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-