public class GlobalScriptMachine
extends java.lang.Object
Constructor and Description |
---|
GlobalScriptMachine(ScriptInstance function,
ConnectionSet connectionSet) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
runScript(DefaultServerSetup setup,
boolean logProcess)
Запуск скрипта.
|
protected void |
runScriptImpl(DefaultServerSetup setup,
java.sql.Connection con,
java.sql.Connection conSlave,
java.io.PrintStream outPrintStream,
java.io.PrintStream errPrintStream) |
public GlobalScriptMachine(ScriptInstance function, ConnectionSet connectionSet)
public java.lang.Object runScript(DefaultServerSetup setup, boolean logProcess)
setup
- сетап.logProcess
- логгировать ли в БД (и возвращать ли результат)protected void runScriptImpl(DefaultServerSetup setup, java.sql.Connection con, java.sql.Connection conSlave, java.io.PrintStream outPrintStream, java.io.PrintStream errPrintStream) throws java.lang.Exception
java.lang.Exception