public class AuthenticatedAsyncJobHandler extends Object implements org.activiti.engine.impl.jobexecutor.JobHandler
JobHandler
which executes activiti jobs authenticated against Alfresco.
The job is executed as the process-initiator. If initiator is not available, system user is used.
It wraps another JobHandler to which the actual execution is delegated to.Constructor and Description |
---|
AuthenticatedAsyncJobHandler(org.activiti.engine.impl.jobexecutor.JobHandler jobHandler) |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.activiti.engine.impl.persistence.entity.JobEntity job,
String configuration,
org.activiti.engine.impl.persistence.entity.ExecutionEntity execution,
org.activiti.engine.impl.interceptor.CommandContext commandContext) |
String |
getType() |
public AuthenticatedAsyncJobHandler(org.activiti.engine.impl.jobexecutor.JobHandler jobHandler)
public void execute(org.activiti.engine.impl.persistence.entity.JobEntity job, String configuration, org.activiti.engine.impl.persistence.entity.ExecutionEntity execution, org.activiti.engine.impl.interceptor.CommandContext commandContext)
execute
in interface org.activiti.engine.impl.jobexecutor.JobHandler
public String getType()
getType
in interface org.activiti.engine.impl.jobexecutor.JobHandler
Copyright © 2005–2017 Alfresco Software. All rights reserved.