public class TenantAwareExecuteAsyncRunnable extends ExecuteAsyncRunnable
ExecuteAsyncRunnable by setting the 'tenant' context before executing.| Modifier and Type | Field and Description |
|---|---|
protected String |
tenantId |
protected TenantInfoHolder |
tenantInfoHolder |
job, jobId, processEngineConfiguration| Constructor and Description |
|---|
TenantAwareExecuteAsyncRunnable(Job job,
ProcessEngineConfigurationImpl processEngineConfiguration,
TenantInfoHolder tenantInfoHolder,
String tenantId) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
executeJob, handleFailedJob, isHandledByActiviti5Engine, lockJobIfNeeded, unacquireJob, unlockJobIfNeededprotected TenantInfoHolder tenantInfoHolder
protected String tenantId
public TenantAwareExecuteAsyncRunnable(Job job, ProcessEngineConfigurationImpl processEngineConfiguration, TenantInfoHolder tenantInfoHolder, String tenantId)
public void run()
run in interface Runnablerun in class ExecuteAsyncRunnableCopyright © 2010–2018 Alfresco. All rights reserved.