Class GlobalScriptMachine
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
bitel.billing.server.script.global.bean.GlobalScriptMachine
public class GlobalScriptMachine
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrunScript
(DefaultServerSetup setup, boolean logProcess) Запуск скрипта.protected void
runScriptImpl
(DefaultServerSetup setup, Connection con, Connection conSlave, PrintStream outPrintStream, PrintStream errPrintStream) Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError
-
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
-