[Java] Class CachingGroovyEngine

  • org.codehaus.groovy.bsf.CachingGroovyEngine
public class CachingGroovyEngine
extends GroovyEngine

A Caching implementation of the GroovyEngine

Inherited fields
Fields inherited from class Fields
class GroovyEngine shell

Methods Summary

Methods
Type Params Return Type Name and description
public Object eval(String source, int lineNo, int columnNo, Object script)
Evaluate an expression.
public void exec(String source, int lineNo, int columnNo, Object script)
Execute a script.
public void initialize(BSFManager mgr, String lang, Vector declaredBeans)
Initialize the engine.

Inherited Methods Summary

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

Method Detail

public Object eval(String source, int lineNo, int columnNo, Object script)

Evaluate an expression.

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

Execute a script.

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

Initialize the engine.

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/bsf/CachingGroovyEngine.html