ScriptingEngine interface got an additonal init() method.

FesiEvaluator was renamed to FesiEngine.
Some naming cleanups.
This commit is contained in:
hns 2002-11-21 15:57:35 +00:00
parent 039ab180be
commit ffbed8751e
15 changed files with 116 additions and 121 deletions

View file

@ -261,10 +261,10 @@ public abstract class ESLoader extends ESObject {
} else if (obj.getClass().isArray()) {
return new ESArrayWrapper(obj, evaluator);
} // else if (obj instanceof helma.framework.IPathElement) { // Hannes Wallnoefer, 13. Aug 2001
// return evaluator.reval.getElementWrapper ((helma.framework.IPathElement) obj);
// return evaluator.engine.getElementWrapper ((helma.framework.IPathElement) obj);
// }
// return new ESWrapper(obj, evaluator);
return evaluator.reval.getObjectWrapper (obj);
return evaluator.engine.getObjectWrapper (obj);
}
/**

View file

@ -45,7 +45,7 @@ public class Evaluator {
// used to stop thread, 06.12.99 Hannes Wallnoefer
public volatile Thread thread;
// used to retrieve wrappers with correct Prototype for path elements in ESLoader
public helma.scripting.fesi.FesiEvaluator reval;
public helma.scripting.fesi.FesiEngine engine;
private static String eol = System.getProperty("line.separator", "\n");