From 93ee81aea5ab609caddf89717b1506a10e8bfc84 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Wed, 13 Jun 2007 19:49:11 +0000 Subject: [PATCH] javadoc --- .../webflow/engine/builder/xml/XmlFlowBuilder.java | 5 ++--- .../test/execution/AbstractXmlFlowExecutionTests.java | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/XmlFlowBuilder.java b/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/XmlFlowBuilder.java index 53bb3839..f77362dc 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/XmlFlowBuilder.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/XmlFlowBuilder.java @@ -517,10 +517,9 @@ public class XmlFlowBuilder extends BaseFlowBuilder implements ResourceHolder { * Register beans in the bean factory local to the flow definition being built. *

* Subclasses may override this metod to customize the population of the bean factory local to - * the flow definition being built, registering mock implementations of services for a test environment. + * the flow definition being built; for example, to register mock implementations of services in a test environment. * @param flow the current flow definition being built - * @param beanFactory the bean factory - * @since 1.0.4 + * @param beanFactory the bean factory; register local beans with it using {@link ConfigurableBeanFactory#registerSingleton(String, Object)} */ protected void registerLocalBeans(Flow flow, ConfigurableBeanFactory beanFactory) { } diff --git a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java index 39dea2c9..f00d7429 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java @@ -83,12 +83,11 @@ public abstract class AbstractXmlFlowExecutionTests extends AbstractExternalized } /** - * Template method called to allow registration of mock implementations of - * services local to the flow being tested. + * Template method subclasses may override to register mock implementations of + * services used locally by the flow being tested. * @param flow the flow to register the services for - * @param beanFactory the local flow service registry, you can register services here + * @param beanFactory the local flow service registry; register mock services with it * using {@link ConfigurableBeanFactory#registerSingleton(String, Object)} - * @since 1.0.4 */ protected void registerLocalMockServices(Flow flow, ConfigurableBeanFactory beanFactory) { }