Class AuthenticatedAsyncJobHandler

  • All Implemented Interfaces:
    org.activiti.engine.impl.jobexecutor.JobHandler

    public class AuthenticatedAsyncJobHandler
    extends java.lang.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 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
      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)  
      java.lang.String getType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticatedAsyncJobHandler

        public AuthenticatedAsyncJobHandler​(org.activiti.engine.impl.jobexecutor.JobHandler jobHandler)
    • 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:
        execute in interface org.activiti.engine.impl.jobexecutor.JobHandler
      • getType

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