public class GroovyScriptEngineImpl extends AbstractScriptEngine
JSR-223 Engine implementation.
Fields inherited from class | Fields |
---|---|
class AbstractScriptEngine |
ARGV, FILENAME, ENGINE, ENGINE_VERSION, NAME, LANGUAGE, LANGUAGE_VERSION |
Type | Name and description |
---|---|
GroovyClassLoader |
classLoader |
Constructor and description |
---|
GroovyScriptEngineImpl
() |
GroovyScriptEngineImpl
(GroovyClassLoader classLoader) |
Type Params | Return Type | Name and description |
---|---|---|
|
CompiledScript |
compile(String scriptSource) |
|
CompiledScript |
compile(Reader reader) |
|
Bindings |
createBindings() |
|
Object |
eval(Reader reader, ScriptContext ctx) |
|
Object |
eval(String script, ScriptContext ctx) |
|
GroovyClassLoader |
getClassLoader() |
|
ScriptEngineFactory |
getFactory() |
<T> |
T |
getInterface(Class<T> clazz) |
<T> |
T |
getInterface(Object thiz, Class<T> clazz) |
|
Object |
invokeFunction(String name, Object... args) |
|
Object |
invokeMethod(Object thiz, String name, Object... args) |
|
void |
setClassLoader(GroovyClassLoader classLoader) |
Methods inherited from class | Name |
---|---|
class AbstractScriptEngine |
get, put, getContext, getBindings, setBindings, setContext, eval, eval, eval, eval, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getFactory, createBindings, eval, eval |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.