public class WorkflowExecutorRegistry extends Object
WorkflowExecutor
s.Constructor and Description |
---|
WorkflowExecutorRegistry() |
Modifier and Type | Method and Description |
---|---|
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) |
public void setExecutors(Map<String,WorkflowExecutor> executors)
executors
- the initial executors this registry is populated with.public void register(String workflowDefinitionName, WorkflowExecutor executor)
WorkflowExecutor
for the given workflow definition name. Overrides
the executor for the given definition name, if already present.workflowDefinitionName
- executor
- public WorkflowExecutor getExecutor(String workflowDefinitionId)
Copyright © 2012. All Rights Reserved.