Class JcaInflowExecuteJobsRunnable
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
org.camunda.bpm.container.impl.threading.ra.inflow.JcaInflowExecuteJobsRunnable
- All Implemented Interfaces:
Runnable
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static Method
protected final JcaExecutorServiceConnector
Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
jobExecutor, jobIds, processEngine
-
Constructor Summary
ConstructorDescriptionJcaInflowExecuteJobsRunnable
(List<String> jobIds, ProcessEngineImpl processEngine, JcaExecutorServiceConnector connector) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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)protected void
protected ClassLoader
Context class loader switch is not necessary since the loader used for job execution is successor of the engine'sMethods inherited from class org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
run, unlockJob
-
Field Details
-
ra
-
method
-
-
Constructor Details
-
JcaInflowExecuteJobsRunnable
public JcaInflowExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine, JcaExecutorServiceConnector connector)
-
-
Method Details
-
executeJob
protected void executeJob(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector) Description copied from class:ExecuteJobsRunnable
Note: this is a hook to be overridden by org.camunda.bpm.container.impl.threading.ra.inflow.JcaInflowExecuteJobsRunnable.executeJob(String, CommandExecutor)- Overrides:
executeJob
in classExecuteJobsRunnable
-
loadMethod
protected void loadMethod() -
switchClassLoader
Context class loader switch is not necessary since the loader used for job execution is successor of the engine's- Overrides:
switchClassLoader
in classExecuteJobsRunnable
- Returns:
- the context class loader of the current thread.
- See Also:
-