Class SimpleWorkflowFactory
java.lang.Object
com.broadleafcommerce.orchestration.spring.SimpleWorkflowFactory
Responsible for constructing
SimpleWorkflow
prototype instances-
Constructor Summary
ConstructorsConstructorDescriptionSimpleWorkflowFactory
(org.springframework.beans.factory.ObjectProvider<SimpleWorkflowExecution> workflowProvider, WorkflowConfiguration workflowConfiguration) -
Method Summary
Modifier and TypeMethodDescriptiongetWorkflowInstance
(String name, String id) Construct a prototype workflow instance based on the workflow name
-
Constructor Details
-
SimpleWorkflowFactory
public SimpleWorkflowFactory(org.springframework.beans.factory.ObjectProvider<SimpleWorkflowExecution> workflowProvider, WorkflowConfiguration workflowConfiguration)
-
-
Method Details
-
getWorkflowInstance
Construct a prototype workflow instance based on the workflow name- Parameters:
name
- The name of the workflowid
- The id of the workflow. Optional. Will not be available on initial create.- Returns:
- The prototype bean instance
-