public abstract class AbstractSlingScriptEngine extends AbstractScriptEngine
contextARGV, 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, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevalprotected AbstractSlingScriptEngine(ScriptEngineFactory scriptEngineFactory)
public Bindings createBindings()
public Object eval(String script, ScriptContext context) throws ScriptException
ScriptExceptionpublic ScriptEngineFactory getFactory()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.