Class ScriptInstance
java.lang.Object
ru.bitel.bgbilling.kernel.script.server.bean.ScriptInstance
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic class - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ru.bitel.common.io.ThreadedPrintStreamprotected bsh.Interpreterprotected ru.bitel.common.io.ThreadedPrintStreamprotected bsh.This - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioneval(PrintStream out, PrintStream err, Map<String, Object> vars) bsh.Interpreterinvoke(String method, Object[] args, PrintStream out, PrintStream err) static booleanmethodExist(Script f, String method) voidrecycle()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() 
 -