public class CachingGroovyEngine extends GroovyEngine
shell
Constructor and Description |
---|
CachingGroovyEngine() |
Modifier and Type | Method and Description |
---|---|
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(org.apache.bsf.BSFManager mgr,
String lang,
Vector declaredBeans)
Initialize the engine.
|
apply, call, declareBean, getEvalShell, undeclareBean
public Object eval(String source, int lineNo, int columnNo, 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(String source, int lineNo, int columnNo, 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, String lang, Vector declaredBeans) throws org.apache.bsf.BSFException
initialize
in interface org.apache.bsf.BSFEngine
initialize
in class GroovyEngine
org.apache.bsf.BSFException