Groovy 2.2.0

org.codehaus.groovy.bsf
[Java] Class CachingGroovyEngine

java.lang.Object
  org.apache.bsf.util.BSFEngineImpl
      org.codehaus.groovy.bsf.GroovyEngine
          org.codehaus.groovy.bsf.CachingGroovyEngine

public class CachingGroovyEngine
extends GroovyEngine

A Caching implementation of the GroovyEngine

Authors:
James Birchfield


Field Summary
 
Fields inherited from class GroovyEngine
shell
 
Method Summary
Object eval(String source, int lineNo, int columnNo, Object script)

Evaluate an expression.

void exec(String source, int lineNo, int columnNo, Object script)

Execute a script.

void initialize(BSFManager mgr, String lang, Vector declaredBeans)

Initialize the engine.

 
Methods inherited from class GroovyEngine
apply, call, declareBean, eval, exec, getEvalShell, initialize, undeclareBean
 

Method Detail

eval

public Object eval(String source, int lineNo, int columnNo, Object script)
Evaluate an expression.


exec

public void exec(String source, int lineNo, int columnNo, Object script)
Execute a script.


initialize

public void initialize(BSFManager mgr, String lang, Vector declaredBeans)
Initialize the engine.


 

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