org.alfresco.repo.workflow.jbpm
Class JBPMSpringActionHandler

java.lang.Object
  extended by org.alfresco.repo.workflow.jbpm.JBPMSpringActionHandler
All Implemented Interfaces:
java.io.Serializable, org.jbpm.graph.def.ActionHandler
Direct Known Subclasses:
AbstractInvitationAction, AlfrescoJavaScript, AVMClearSubmittedHandler, AVMDeployHandler, AVMReleaseTestServerHandler, AVMRemoveAllSrcWebappsHandler, AVMRemoveWFStoreHandler, AVMSubmitHandler, AVMSubmitPackageHandler, ForEachFork, JBPMTestSpringActionHandler

public abstract class JBPMSpringActionHandler
extends java.lang.Object
implements org.jbpm.graph.def.ActionHandler

Abstract base implementation of a Jbpm Action Hander with access to Alfresco Spring beans.

See Also:
Serialized Form

Constructor Summary
protected JBPMSpringActionHandler()
          Construct
 
Method Summary
protected  java.lang.String getWorkflowInstanceId(org.jbpm.graph.exe.ExecutionContext context)
          Gets the workflow instance id of the currently executing workflow
protected abstract  void initialiseHandler(org.springframework.beans.factory.BeanFactory factory)
          Initialise Action Handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.graph.def.ActionHandler
execute
 

Constructor Detail

JBPMSpringActionHandler

protected JBPMSpringActionHandler()
Construct

Method Detail

initialiseHandler

protected abstract void initialiseHandler(org.springframework.beans.factory.BeanFactory factory)
Initialise Action Handler

Parameters:
factory - Spring bean factory for accessing Alfresco beans

getWorkflowInstanceId

protected java.lang.String getWorkflowInstanceId(org.jbpm.graph.exe.ExecutionContext context)
Gets the workflow instance id of the currently executing workflow

Parameters:
context - jBPM execution context
Returns:
workflow instance id


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.