public class CachingGroovyEngine extends GroovyEngine
classLoader, classPath, declaredBeans, lang, mgr, tempDir
shell
Constructor | Description |
---|---|
CachingGroovyEngine() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
eval(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script) |
Evaluate an expression.
|
void |
exec(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script) |
Execute a script.
|
void |
initialize(org.apache.bsf.BSFManager mgr,
java.lang.String lang,
java.util.Vector declaredBeans) |
Initialize the engine.
|
compileApply, compileExpr, compileScript, iexec, propertyChange, terminate
apply, call, declareBean, getEvalShell, undeclareBean
public java.lang.Object eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object script) throws org.apache.bsf.BSFException
eval
in class GroovyEngine
org.apache.bsf.BSFException
public void exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script) throws org.apache.bsf.BSFException
exec
in class GroovyEngine
org.apache.bsf.BSFException
public void initialize(org.apache.bsf.BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans) throws org.apache.bsf.BSFException
initialize
in class GroovyEngine
org.apache.bsf.BSFException