diff --git a/spring-webflow/changelog.txt b/spring-webflow/changelog.txt index 5d5a58c6..569ae8e5 100644 --- a/spring-webflow/changelog.txt +++ b/spring-webflow/changelog.txt @@ -24,6 +24,7 @@ Package org.springframework.webflow.config not to be read properly and throw an exception (SWF-239). * Added Spring tooling funtionality to the BeanDefinitionParser to allow tools such as SpringIDE to properly interact with it (SWF-254). +* Added getFlowExecutor() method to FlowExecutorFactoryBean. Package org.springframework.webflow.context * The ThreadLocal in ExternalContextHolder is now final (SWF-262). diff --git a/spring-webflow/src/main/java/org/springframework/webflow/config/FlowExecutorFactoryBean.java b/spring-webflow/src/main/java/org/springframework/webflow/config/FlowExecutorFactoryBean.java index fbc49f97..a641d4fe 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/config/FlowExecutorFactoryBean.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/config/FlowExecutorFactoryBean.java @@ -406,6 +406,13 @@ public class FlowExecutorFactoryBean implements FactoryBean, InitializingBean { } public Object getObject() throws Exception { + return getFlowExecutor(); + } + + /** + * Returns the flow executor constructed by the factory bean. + */ + public FlowExecutor getFlowExecutor() { return flowExecutor; } } \ No newline at end of file