public class AuthenticatedTimerJobHandler
extends java.lang.Object
implements org.activiti.engine.impl.jobexecutor.JobHandler
JobHandler
which executes activiti timer-jobs
authenticated against Alfresco. It runs the timer execution
as the task's assignee (if any) when the timer is applied to a
task. If not, system user is used to execute timer.
It wraps another JobHandler to which the actual execution is delegated to.Constructor and Description |
---|
AuthenticatedTimerJobHandler(org.activiti.engine.impl.jobexecutor.JobHandler jobHandler) |
public AuthenticatedTimerJobHandler(org.activiti.engine.impl.jobexecutor.JobHandler jobHandler)
public void execute(java.lang.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 java.lang.String getType()
getType
in interface org.activiti.engine.impl.jobexecutor.JobHandler
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.