Class ManagedJobExecutor.QuarkusClassLoaderExecuteJobsRunnable
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
org.camunda.bpm.quarkus.engine.extension.impl.ManagedJobExecutor.QuarkusClassLoaderExecuteJobsRunnable
- All Implemented Interfaces:
Runnable
- Enclosing class:
- ManagedJobExecutor
protected static class ManagedJobExecutor.QuarkusClassLoaderExecuteJobsRunnable
extends ExecuteJobsRunnable
-
Field Summary
FieldsFields inherited from class org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
jobExecutor, jobIds, processEngine -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQuarkusClassLoaderExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine, ClassLoader applicationClassLoader) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassLoaderSwitch 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 requiredMethods inherited from class org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
executeJob, run, unlockJob
-
Field Details
-
applicationClassLoader
-
-
Constructor Details
-
QuarkusClassLoaderExecuteJobsRunnable
protected QuarkusClassLoaderExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine, ClassLoader applicationClassLoader)
-
-
Method Details
-
switchClassLoader
Description copied from class:ExecuteJobsRunnableSwitch 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- Overrides:
switchClassLoaderin classExecuteJobsRunnable- Returns:
- the classloader before the switch to return it back after the job execution
-