Class AuthenticatedAsyncJobHandler
- java.lang.Object
-
- org.alfresco.repo.workflow.activiti.AuthenticatedAsyncJobHandler
-
- All Implemented Interfaces:
org.activiti.engine.impl.jobexecutor.JobHandler
public class AuthenticatedAsyncJobHandler extends java.lang.Object implements org.activiti.engine.impl.jobexecutor.JobHandlerAnJobHandlerwhich 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.- Since:
- 4.2
- Author:
- Frederik Heremans
-
-
Constructor Summary
Constructors Constructor Description AuthenticatedAsyncJobHandler(org.activiti.engine.impl.jobexecutor.JobHandler jobHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(org.activiti.engine.impl.persistence.entity.JobEntity job, java.lang.String configuration, org.activiti.engine.impl.persistence.entity.ExecutionEntity execution, org.activiti.engine.impl.interceptor.CommandContext commandContext)java.lang.StringgetType()
-
-
-
Method Detail
-
execute
public void execute(org.activiti.engine.impl.persistence.entity.JobEntity job, java.lang.String configuration, org.activiti.engine.impl.persistence.entity.ExecutionEntity execution, org.activiti.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executein interfaceorg.activiti.engine.impl.jobexecutor.JobHandler
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceorg.activiti.engine.impl.jobexecutor.JobHandler
-
-