Class AuthenticatedAsyncJobHandler

java.lang.Object
org.alfresco.repo.workflow.activiti.AuthenticatedAsyncJobHandler
All Implemented Interfaces:
org.activiti.engine.impl.jobexecutor.JobHandler

public class AuthenticatedAsyncJobHandler extends Object implements org.activiti.engine.impl.jobexecutor.JobHandler
An 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.
Since:
4.2
Author:
Frederik Heremans
  • Constructor Details

    • AuthenticatedAsyncJobHandler

      public AuthenticatedAsyncJobHandler(org.activiti.engine.impl.jobexecutor.JobHandler jobHandler)
  • Method Details

    • execute

      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)
      Specified by:
      execute in interface org.activiti.engine.impl.jobexecutor.JobHandler
    • getType

      public String getType()
      Specified by:
      getType in interface org.activiti.engine.impl.jobexecutor.JobHandler