javadoc
This commit is contained in:
@@ -517,10 +517,9 @@ public class XmlFlowBuilder extends BaseFlowBuilder implements ResourceHolder {
|
||||
* Register beans in the bean factory local to the flow definition being built.
|
||||
* <p>
|
||||
* 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) {
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user