Configure Spring Web Stream with Java Configuration

I am using Spring 3.1 and want to enable Spring Web Flow 2.3. The only thing I really like about Spring is that you can leave the XML configuration in favor of the Java-only configuration using the @Configuration and @Bean .

However, I have not yet figured out how to configure Web Flow in this way. The documents included in my Google searches are for XML configuration only. Is it possible who has any pointers?

EDIT: I did not ask about the definition of a stream, but rather about replacing the webflow-config schema. At this point, configuration items such as flow-registry and flow-executor should be in the Spring-XML files along with the display of the corresponding stream handler.

+4
source share
1 answer

If you mean flow definitions, then no. The basic Java configuration for Webflow was to be part of Webflow 3. The most recent status update can be found in this thread .

There is currently no set date for the release of Spring Web Flow 3. Tickets in version 3 are currently being reviewed for inclusion in version 2.4 or later, so again, if there are things you care about, vote, comment and discuss. The flagship Web Flow 3 element, Java-based flow definitions, is still pending, although it is currently paused as we move forward with the other important goals mentioned above.

+1
source

Source: https://habr.com/ru/post/1401028/


All Articles