All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springframework.webflow.registry.package.html Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version


The Flow Registry subsystem, for managing registries of refreshable flow definitions.

You can construct a generic, initially empty FlowRegistry, and then populate it with Flow definitions using a FlowRegistrar as follows:

    BeanFactory beanFactory = ...
    FlowRegistryImpl registry = new FlowRegistryImpl();
    FlowArtifactFactory flowArtifactFactory = new FlowRegistryFlowArtifactFactory(registry, beanFactory);
    XmlFlowRegistrar registrar = new XmlFlowRegistrar();
    registrar.addFlowLocation(new FileSystemResource("WEB-INF/flowA.xml");
	registrar.addFlowLocation(new FileSystemResource("WEB-INF/flowB.xml");
    registrar.registerFlowDefinitions(registry, flowArtifactFactory);





© 2015 - 2024 Weber Informatics LLC | Privacy Policy