public class GroovyCompiledScript
extends javax.script.CompiledScript
ScriptEngine
using the eval
method without reparsing overheads.Constructor and Description |
---|
GroovyCompiledScript(GroovyScriptEngineImpl engine,
java.lang.Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eval(javax.script.ScriptContext context) |
javax.script.ScriptEngine |
getEngine() |
public GroovyCompiledScript(GroovyScriptEngineImpl engine, java.lang.Class<?> clazz)
public java.lang.Object eval(javax.script.ScriptContext context) throws javax.script.ScriptException
eval
in class javax.script.CompiledScript
javax.script.ScriptException
public javax.script.ScriptEngine getEngine()
getEngine
in class javax.script.CompiledScript