public abstract class AbstractSlingScriptEngine extends AbstractScriptEngine
context
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
Modifier | Constructor and Description |
---|---|
protected |
AbstractSlingScriptEngine(ScriptEngineFactory scriptEngineFactory) |
Modifier and Type | Method and Description |
---|---|
Bindings |
createBindings() |
Object |
eval(String script,
ScriptContext context) |
ScriptEngineFactory |
getFactory() |
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eval
protected AbstractSlingScriptEngine(ScriptEngineFactory scriptEngineFactory)
public Bindings createBindings()
public Object eval(String script, ScriptContext context) throws ScriptException
ScriptException
public ScriptEngineFactory getFactory()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.