public class CachingGroovyEngine extends GroovyEngine
shell
Constructor and Description |
---|
CachingGroovyEngine() |
Modifier and Type | Method and 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.
|
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 interface org.apache.bsf.BSFEngine
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 interface org.apache.bsf.BSFEngine
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 interface org.apache.bsf.BSFEngine
initialize
in class GroovyEngine
org.apache.bsf.BSFException