Package org.codehaus.groovy.jsr223
Class GroovyCompiledScript
java.lang.Object
javax.script.CompiledScript
org.codehaus.groovy.jsr223.GroovyCompiledScript
public class GroovyCompiledScript
extends javax.script.CompiledScript
Used to represent compiled Groovy scripts.  Such scripts may be executed repeatedly
 by Groovy's 
ScriptEngine using the eval method without reparsing overheads.
 Adapted from original by Mike Grogan and A. Sundararajan- 
Constructor SummaryConstructors Constructor Description GroovyCompiledScript(GroovyScriptEngineImpl engine, java.lang.Class<?> clazz)
- 
Method SummaryMethods inherited from class javax.script.CompiledScripteval, evalMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
GroovyCompiledScript
 
- 
- 
Method Details- 
evalpublic java.lang.Object eval(javax.script.ScriptContext context) throws javax.script.ScriptException- Specified by:
- evalin class- javax.script.CompiledScript
- Throws:
- javax.script.ScriptException
 
- 
getEnginepublic javax.script.ScriptEngine getEngine()- Specified by:
- getEnginein class- javax.script.CompiledScript
 
 
-