public class ExecutionFlowGenerator
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
ExecutionFlows
and Runnables
as
beans in the Spring Application Context.
Called by the Application Context as a BeanFactoryPostProcessor
.
Two kinds of beans are generated:
RunnableCallFlow
, calling a list of Runnables
from the
Application Context after configuring the ExecutionContext
,
and outputs of a RunnableFactory
.Modifier and Type | Field and Description |
---|---|
protected RunnableFactory |
runnableFactory
Factory used to create Runnables in the Application context from
the
RunnableDataNode provided from the source. |
protected ExecutionFlowGeneratorSource |
source
Source providing a list of
RunnableCallFlowDescriptor
used to create RunnableCallFlow and a list of
RunnableDataNode used to create any kind of flow via a factory |
Constructor and Description |
---|
ExecutionFlowGenerator() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setContextValuesBeanName(java.lang.String contextValuesBeanName) |
void |
setExecutionContextBeanName(java.lang.String executionContextBeanName) |
void |
setFlowBeanNamesPrefix(java.lang.String flowBeanNamesPrefix) |
void |
setOrder(int order) |
void |
setRunnableFactory(RunnableFactory runnableFactory) |
void |
setSource(ExecutionFlowGeneratorSource source) |
protected ExecutionFlowGeneratorSource source
RunnableCallFlowDescriptor
used to create RunnableCallFlow
and a list of
RunnableDataNode
used to create any kind of flow via a factoryprotected RunnableFactory runnableFactory
RunnableDataNode
provided from the source.public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
public void setSource(ExecutionFlowGeneratorSource source)
public void setRunnableFactory(RunnableFactory runnableFactory)
public void setExecutionContextBeanName(java.lang.String executionContextBeanName)
public void setContextValuesBeanName(java.lang.String contextValuesBeanName)
public void setFlowBeanNamesPrefix(java.lang.String flowBeanNamesPrefix)
Copyright © 2007–2020. All rights reserved.