public class ExecuteJobsRunnable extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected JobExecutor |
jobExecutor |
protected List<String> |
jobIds |
protected ProcessEngineImpl |
processEngine |
Constructor and Description |
---|
ExecuteJobsRunnable(List<String> jobIds,
ProcessEngineImpl processEngine) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeJob(String nextJobId,
CommandExecutor commandExecutor,
JobFailureCollector jobFailureCollector)
Note: this is a hook to be overridden by
org.camunda.bpm.container.impl.threading.ra.inflow.JcaInflowExecuteJobsRunnable.executeJob(String, CommandExecutor)
|
void |
run() |
protected ClassLoader |
switchClassLoader()
Switch the context classloader to the ProcessEngine's
to assure the loading of the engine classes during job execution
Note: this method is overridden by org.camunda.bpm.container.impl.threading.ra.inflow.JcaInflowExecuteJobsRunnable#switchClassLoader() - where the classloader switch is not required |
protected void |
unlockJob(String nextJobId,
CommandExecutor commandExecutor) |
protected JobExecutor jobExecutor
protected ProcessEngineImpl processEngine
public ExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine)
protected void executeJob(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
protected void unlockJob(String nextJobId, CommandExecutor commandExecutor)
protected ClassLoader switchClassLoader()
https://app.camunda.com/jira/browse/CAM-10379
Copyright © 2022. All rights reserved.