org.alfresco.bm.workflow
Class WorkflowExecutorRegistry
java.lang.Object
org.alfresco.bm.workflow.WorkflowExecutorRegistry
public class WorkflowExecutorRegistry
- extends Object
Registry containing al usable WorkflowExecutors.
- Author:
- Frederik Heremans
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowExecutorRegistry
public WorkflowExecutorRegistry()
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.