|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.script.AbstractScriptEngine org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
public class GroovyScriptEngineImpl extends javax.script.AbstractScriptEngine
Field Summary |
---|
Fields inherited from class javax.script.AbstractScriptEngine | |
---|---|
ARGV, FILENAME, ENGINE, ENGINE_VERSION, NAME, LANGUAGE, LANGUAGE_VERSION |
Constructor Summary | |
GroovyScriptEngineImpl()
|
|
GroovyScriptEngineImpl(GroovyClassLoader classLoader)
|
Method Summary | |
---|---|
javax.script.CompiledScript
|
compile(java.lang.String scriptSource)
|
javax.script.CompiledScript
|
compile(java.io.Reader reader)
|
javax.script.Bindings
|
createBindings()
|
java.lang.Object
|
eval(java.io.Reader reader, javax.script.ScriptContext ctx)
|
java.lang.Object
|
eval(java.lang.String script, javax.script.ScriptContext ctx)
|
GroovyClassLoader
|
getClassLoader()
|
javax.script.ScriptEngineFactory
|
getFactory()
|
java.lang.Object
|
getInterface(java.lang.Class clazz)
|
java.lang.Object
|
getInterface(java.lang.Object thiz, java.lang.Class clazz)
|
java.lang.Object
|
invokeFunction(java.lang.String name, java.lang.Object... args)
|
java.lang.Object
|
invokeMethod(java.lang.Object thiz, java.lang.String name, java.lang.Object... args)
|
void
|
setClassLoader(GroovyClassLoader classLoader)
|
Methods inherited from class javax.script.AbstractScriptEngine | |
---|---|
javax.script.AbstractScriptEngine#getBindings(int), javax.script.AbstractScriptEngine#eval(java.io.Reader, javax.script.Bindings), javax.script.AbstractScriptEngine#eval(java.io.Reader), javax.script.AbstractScriptEngine#eval(java.lang.String), javax.script.AbstractScriptEngine#eval(java.lang.String, javax.script.Bindings), javax.script.AbstractScriptEngine#setBindings(javax.script.Bindings, int), javax.script.AbstractScriptEngine#get(java.lang.String), javax.script.AbstractScriptEngine#put(java.lang.String, java.lang.Object), javax.script.AbstractScriptEngine#getContext(), javax.script.AbstractScriptEngine#setContext(javax.script.ScriptContext), javax.script.AbstractScriptEngine#wait(long, int), javax.script.AbstractScriptEngine#wait(long), javax.script.AbstractScriptEngine#wait(), javax.script.AbstractScriptEngine#equals(java.lang.Object), javax.script.AbstractScriptEngine#toString(), javax.script.AbstractScriptEngine#hashCode(), javax.script.AbstractScriptEngine#getClass(), javax.script.AbstractScriptEngine#notify(), javax.script.AbstractScriptEngine#notifyAll(), javax.script.AbstractScriptEngine#eval(java.lang.String, javax.script.ScriptContext), javax.script.AbstractScriptEngine#eval(java.io.Reader, javax.script.ScriptContext), javax.script.AbstractScriptEngine#createBindings(), javax.script.AbstractScriptEngine#getFactory() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public GroovyScriptEngineImpl()
public GroovyScriptEngineImpl(GroovyClassLoader classLoader)
Method Detail |
---|
public javax.script.CompiledScript compile(java.lang.String scriptSource)
public javax.script.CompiledScript compile(java.io.Reader reader)
public javax.script.Bindings createBindings()
public java.lang.Object eval(java.io.Reader reader, javax.script.ScriptContext ctx)
public java.lang.Object eval(java.lang.String script, javax.script.ScriptContext ctx)
public GroovyClassLoader getClassLoader()
public javax.script.ScriptEngineFactory getFactory()
public java.lang.Object getInterface(java.lang.Class clazz)
public java.lang.Object getInterface(java.lang.Object thiz, java.lang.Class clazz)
public java.lang.Object invokeFunction(java.lang.String name, java.lang.Object... args)
public java.lang.Object invokeMethod(java.lang.Object thiz, java.lang.String name, java.lang.Object... args)
public void setClassLoader(GroovyClassLoader classLoader)
Groovy Documentation