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, undeclareBeanpublic Object eval(String source, int lineNo, int columnNo, Object script) throws org.apache.bsf.BSFException
eval in interface org.apache.bsf.BSFEngineeval in class GroovyEngineorg.apache.bsf.BSFExceptionpublic void exec(String source, int lineNo, int columnNo, Object script) throws org.apache.bsf.BSFException
exec in interface org.apache.bsf.BSFEngineexec in class GroovyEngineorg.apache.bsf.BSFExceptionpublic void initialize(org.apache.bsf.BSFManager mgr,
String lang,
Vector declaredBeans)
throws org.apache.bsf.BSFException
initialize in interface org.apache.bsf.BSFEngineinitialize in class GroovyEngineorg.apache.bsf.BSFException