From 7d4cbdeb48bda21669f47477ea10d5922b9c8d77 Mon Sep 17 00:00:00 2001 From: hns Date: Sat, 8 Sep 2001 17:48:39 +0000 Subject: [PATCH] implemented direct callback into evaluator by its own thread. --- src/helma/framework/core/RequestEvaluator.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index 300c0181..96edf642 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -652,6 +652,15 @@ public class RequestEvaluator implements Runnable { return result; } + protected Object invokeDirectFunction (Object obj, String functionName, Object[] args) throws Exception { + ESObject eso = getElementWrapper (obj); + ESValue[] esv = args == null ? new ESValue[0] : new ESValue[args.length]; + for (int i=0; i