@Configuration @ComponentScan(value="io.nflow.engine") public class EngineConfiguration extends Object
| Constructor and Description |
|---|
EngineConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowInstanceExecutor |
nflowExecutor(ThreadFactory nflowThreadFactory,
Environment env)
Creates a workflow instance executor for processing workflow instances.
|
AbstractResource |
nflowNonSpringWorkflowsListing(Environment env)
Creates a resource for listing workflows that are not defined as Spring beans.
|
com.fasterxml.jackson.databind.ObjectMapper |
nflowObjectMapper()
Creates an object mapper for serializing and deserializing workflow instance state variables to and from database.
|
ThreadFactory |
nflowThreadFactory()
Creates a thread factory for creating instance executor threads.
|
@Bean public WorkflowInstanceExecutor nflowExecutor(ThreadFactory nflowThreadFactory, Environment env)
nflowThreadFactory - Thread factory to be used for creating instance executor threads.env - The Spring environment.@Bean public ThreadFactory nflowThreadFactory()
@Bean public com.fasterxml.jackson.databind.ObjectMapper nflowObjectMapper()
@Bean public AbstractResource nflowNonSpringWorkflowsListing(Environment env)
env - The Spring environment.Copyright © 2014–2020 Nitor Creations. All rights reserved.