I am using Spring 3.1 and want to include Spring Web Flow 2.3. One thing I really like about Spring is that you can leave off the XML configuration in favour of Java-only configuration using @Configuration
and @Bean
annotations.
However, I have not yet found out how to configure Web Flow this way. The docs that turned up on my Google searches all referred to XML configuration only. Is it possible, does anyone have any pointers?
EDIT:
I was not asking about the flow definition, but rather for a replacement for the webflow-config
schema. At the moment, configuration items such as flow-registry
and flow-executor
have to go in Spring-XML files, along with the flow handler mapping referring to them.