Class TenantAwareExecuteAsyncRunnableFactory
java.lang.Object
org.flowable.job.service.impl.asyncexecutor.multitenant.TenantAwareExecuteAsyncRunnableFactory
- All Implemented Interfaces:
ExecuteAsyncRunnableFactory
public class TenantAwareExecuteAsyncRunnableFactory
extends Object
implements ExecuteAsyncRunnableFactory
Factory that produces a
Runnable
that executes a JobEntity
. Can be used to create special implementations for specific tenants.- Author:
- Joram Barrez
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTenantAwareExecuteAsyncRunnableFactory
(TenantInfoHolder tenantInfoHolder, String tenantId) -
Method Summary
Modifier and TypeMethodDescriptioncreateExecuteAsyncRunnable
(JobInfo job, JobServiceConfiguration jobServiceConfiguration)
-
Field Details
-
tenantInfoHolder
-
tenantId
-
-
Constructor Details
-
TenantAwareExecuteAsyncRunnableFactory
-
-
Method Details
-
createExecuteAsyncRunnable
public Runnable createExecuteAsyncRunnable(JobInfo job, JobServiceConfiguration jobServiceConfiguration) - Specified by:
createExecuteAsyncRunnable
in interfaceExecuteAsyncRunnableFactory
-