Groovy 2.2.0

org.codehaus.groovy.jsr223
[Java] Class GroovyCompiledScript

java.lang.Object
  javax.script.CompiledScript
      org.codehaus.groovy.jsr223.GroovyCompiledScript

public class GroovyCompiledScript
extends CompiledScript

Used to represent compiled Groovy scripts. Such scripts may be executed repeatedly by Groovy's ScriptEngine using the eval method without reparsing overheads.

Authors:
Mike Grogan
A. Sundararajan


Constructor Summary
GroovyCompiledScript(GroovyScriptEngineImpl engine, Class clazz)

 
Method Summary
Object eval(ScriptContext context)

ScriptEngine getEngine()

 
Methods inherited from class CompiledScript
eval, eval, eval, getEngine, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

GroovyCompiledScript

public GroovyCompiledScript(GroovyScriptEngineImpl engine, Class clazz)


 
Method Detail

eval

public Object eval(ScriptContext context)


getEngine

public ScriptEngine getEngine()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.