spring-webflow icon indicating copy to clipboard operation
spring-webflow copied to clipboard

Add support for FlowBuilder post processing [SWF-310]

Open spring-operator opened this issue 17 years ago • 2 comments

Keith Donald opened SWF-310 and commented

It is sometimes useful to perform post processing on a flow built by a builder before the builder returns it. An example would be a policy where a login flow should be introduced into all flows. Another example would be to throw exceptions on flows with a "restful" or "stateless" attribute that have view-states to catch developer bugs.

This is similiar in spirit to a BeanFactoryPostProcessor.


Affects: 1.0.3

Issue Links:

  • #166 Add out-of-the-box login flow integration support ("is depended on by")

2 votes, 2 watchers

spring-operator avatar May 17 '07 02:05 spring-operator

Erwin Vervaet commented

With a Java flow builder is ofcourse pretty simple to 'roll-your-own' for this.

spring-operator avatar May 19 '07 01:05 spring-operator

Erwin Vervaet commented

Another idea: we could possibly do this using the decorator pattern, i.e. leveraging the FlowBuilder interface.

spring-operator avatar May 30 '07 18:05 spring-operator