Class PinstanceProcedure
- java.lang.Object
-
- org.openbravo.service.db.DalBaseProcess
-
- org.openbravo.erpCommon.ad_process.ProcedureProcess
-
- org.openbravo.erpCommon.ad_process.PinstanceProcedure
-
- All Implemented Interfaces:
Process
public class PinstanceProcedure extends ProcedureProcess
A pInstance procedure process.- Author:
- awolski
-
-
Field Summary
-
Fields inherited from class org.openbravo.erpCommon.ad_process.ProcedureProcess
connection, logger
-
Fields inherited from interface org.openbravo.scheduling.Process
COMPLETE, ERROR, EXECUTION_ID, KILLED, MISFIRED, PREVENT_CONCURRENT_EXECUTIONS, PROCESS_ID, PROCESS_NAME, PROCESSING, SCHEDULED, SUCCESS, SYSTEM_RESTART, UNSCHEDULED
-
-
Constructor Summary
Constructors Constructor Description PinstanceProcedure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init(ProcessBundle bundle)
Initilize the sql and parameters for the procedure.protected void
log(String message, ProcessContext context)
Log a message to the process' output log (used by the process monitor).-
Methods inherited from class org.openbravo.erpCommon.ad_process.ProcedureProcess
doExecute, log, setParams, setSQL
-
Methods inherited from class org.openbravo.service.db.DalBaseProcess
execute, isDoCommit, setDoCommit
-
-
-
-
Method Detail
-
init
protected void init(ProcessBundle bundle)
Initilize the sql and parameters for the procedure.- Specified by:
init
in classProcedureProcess
- Parameters:
bundle
- the process bundle containing process and context specific information
-
log
protected void log(String message, ProcessContext context)
Description copied from class:ProcedureProcess
Log a message to the process' output log (used by the process monitor).- Overrides:
log
in classProcedureProcess
- Parameters:
message
- the message to logcontext
- the process' execution bundle/context
-
-