Class GlobalScriptMachine
java.lang.Object
bitel.billing.server.script.global.bean.GlobalScriptMachine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrunScript
(DefaultServerSetup setup, boolean logProcess) Запуск скрипта.protected void
runScriptImpl
(DefaultServerSetup setup, Connection con, Connection conSlave, PrintStream outPrintStream, PrintStream errPrintStream)
-
Constructor Details
-
GlobalScriptMachine
-
-
Method Details
-
runScript
Запуск скрипта.- Parameters:
setup
- сетап.logProcess
- логгировать ли в БД (и возвращать ли результат)- Returns:
- результат (возможно, строка), может быть null (если logProcess=false)
-
runScriptImpl
protected void runScriptImpl(DefaultServerSetup setup, Connection con, Connection conSlave, PrintStream outPrintStream, PrintStream errPrintStream) throws Exception - Throws:
Exception
-