diff --git a/spring-webflow/.classpath b/spring-webflow/.classpath index 1d8071e7..1dcebcc5 100644 --- a/spring-webflow/.classpath +++ b/spring-webflow/.classpath @@ -3,6 +3,7 @@ + @@ -33,6 +34,7 @@ + diff --git a/spring-webflow/src/main/java/org/springframework/webflow/mvc/FlowController.java b/spring-webflow/src/main/java/org/springframework/webflow/mvc/FlowController.java index 1c937953..e84e9e3c 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/mvc/FlowController.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/mvc/FlowController.java @@ -8,13 +8,24 @@ import org.springframework.web.servlet.mvc.AbstractController; import org.springframework.webflow.context.servlet.ServletExternalContext; import org.springframework.webflow.executor.FlowExecutor; +/** + * Adapter between the Spring MVC Controller layer and the Spring Web Flow engine. This controller allows Spring Web + * Flow to run in "embedded" mode as a Controller within a DispatcherServlet. + */ public class FlowController extends AbstractController { private FlowExecutor flowExecutor; + /** + * Creates a new flow controller. + */ public FlowController() { } + /** + * Sets the flow executor to delegate to. The FlowExecutor is the entry point into Spring Web Flow. + * @param flowExecutor the flow executor + */ public void setFlowExecutor(FlowExecutor flowExecutor) { this.flowExecutor = flowExecutor; } @@ -25,4 +36,4 @@ public class FlowController extends AbstractController { context.executeFlowRequest(flowExecutor); return null; } -} +} \ No newline at end of file