org.alfresco.bm.workflow
Class WorkflowExecutorRegistry

java.lang.Object
  extended by org.alfresco.bm.workflow.WorkflowExecutorRegistry

public class WorkflowExecutorRegistry
extends Object

Registry containing al usable WorkflowExecutors.

Author:
Frederik Heremans

Constructor Summary
WorkflowExecutorRegistry()
           
 
Method Summary
 WorkflowExecutor getExecutor(String workflowDefinitionId)
           
 void register(String workflowDefinitionName, WorkflowExecutor executor)
          Register a WorkflowExecutor for the given workflow definition name.
 void setExecutors(Map<String,WorkflowExecutor> executors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowExecutorRegistry

public WorkflowExecutorRegistry()
Method Detail

setExecutors

public void setExecutors(Map<String,WorkflowExecutor> executors)
Parameters:
executors - the initial executors this registry is populated with.

register

public void register(String workflowDefinitionName,
                     WorkflowExecutor executor)
Register a WorkflowExecutor for the given workflow definition name. Overrides the executor for the given definition name, if already present.

Parameters:
workflowDefinitionName -
executor -

getExecutor

public WorkflowExecutor getExecutor(String workflowDefinitionId)


Copyright © 2012. All Rights Reserved.