public class JavaClassScriptEngine extends AbstractScriptEngine
context
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
Constructor and Description |
---|
JavaClassScriptEngine() |
Modifier and Type | Method and Description |
---|---|
Bindings |
createBindings() |
Object |
eval(Reader reader,
ScriptContext context) |
Object |
eval(String userExecutableClassName,
ScriptContext context) |
JavaExecutable |
getExecutable(String userExecutableClassName) |
ScriptEngineFactory |
getFactory() |
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
public Object eval(String userExecutableClassName, ScriptContext context) throws ScriptException
ScriptException
public JavaExecutable getExecutable(String userExecutableClassName) throws ExecutableCreationException
ExecutableCreationException
public Object eval(Reader reader, ScriptContext context) throws ScriptException
ScriptException
public Bindings createBindings()
public ScriptEngineFactory getFactory()