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
FieldsModifier and TypeFieldDescriptionprotected static Methodprotected final JcaExecutorServiceConnectorFields inherited from class org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
jobExecutor, jobIds, processEngine -
Constructor Summary
ConstructorsConstructorDescriptionJcaInflowExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine, JcaExecutorServiceConnector connector) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteJob(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 voidprotected ClassLoaderContext 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:ExecuteJobsRunnableNote: this is a hook to be overridden by org.camunda.bpm.container.impl.threading.ra.inflow.JcaInflowExecuteJobsRunnable.executeJob(String, CommandExecutor)- Overrides:
executeJobin 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:
switchClassLoaderin classExecuteJobsRunnable- Returns:
- the context class loader of the current thread.
- See Also:
-