classLoader
protected java.lang.ClassLoader classLoader
classPath
protected java.lang.String classPath
declaredBeans
protected java.util.Vector declaredBeans
lang
protected java.lang.String lang
tempDir
protected java.lang.String tempDir
apply
public java.lang.Object apply(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object funcBody,
java.util.Vector paramNames,
java.util.Vector arguments)
throws BSFException Default impl of apply - calls eval ignoring parameters and returns
the result.
- apply in interface BSFEngine
compileApply
public void compileApply(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object funcBody,
java.util.Vector paramNames,
java.util.Vector arguments,
CodeBuffer cb)
throws BSFException Default impl of compileApply - calls compileExpr ignoring parameters.
- compileApply in interface BSFEngine
compileExpr
public void compileExpr(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object expr,
CodeBuffer cb)
throws BSFException Default impl of compileExpr - generates code that'll create a new
manager, evaluate the expression, and return the value.
- compileExpr in interface BSFEngine
compileScript
public void compileScript(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script,
CodeBuffer cb)
throws BSFException Default impl of compileScript - generates code that'll create a new
manager, and execute the script.
- compileScript in interface BSFEngine
exec
public void exec(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script)
throws BSFException Default impl of execute - calls eval and ignores the result.
- exec in interface BSFEngine
iexec
public void iexec(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script)
throws BSFException Default impl of interactive execution - calls eval and ignores the result.
- iexec in interface BSFEngine
initialize
public void initialize(BSFManager mgr,
java.lang.String lang,
java.util.Vector declaredBeans)
throws BSFException initialize the engine; called right after construction by
the manager. Declared beans are simply kept in a vector and
that's it. Subclasses must do whatever they want with it.
- initialize in interface BSFEngine
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
Receive property change events from the manager and update my fields
as needed.
e - PropertyChange event with the change data