Class ScriptInstance
java.lang.Object
ru.bitel.bgbilling.kernel.script.server.bean.ScriptInstance
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected ru.bitel.common.io.ThreadedPrintStream
protected bsh.Interpreter
protected ru.bitel.common.io.ThreadedPrintStream
protected bsh.This
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneval
(PrintStream out, PrintStream err, Map<String, Object> vars) bsh.Interpreter
invoke
(String method, Object[] args, PrintStream out, PrintStream err) static boolean
methodExist
(Script f, String method) void
recycle()
toString()
static void
-
Field Details
-
interpreter
protected bsh.Interpreter interpreter -
thiz
protected bsh.This thiz -
out
protected ru.bitel.common.io.ThreadedPrintStream out -
err
protected ru.bitel.common.io.ThreadedPrintStream err
-
-
Constructor Details
-
ScriptInstance
-
-
Method Details
-
validateScript
-
methodExist
-
methodNames
-
getScript
-
toString
-
eval
- Throws:
bsh.EvalError
-
invoke
public Object invoke(String method, Object[] args, PrintStream out, PrintStream err) throws bsh.EvalError - Throws:
bsh.EvalError
-
invoke
- Throws:
bsh.EvalError
-
getInterpreter
public bsh.Interpreter getInterpreter() -
recycle
public void recycle()
-