PDA

View Full Version : flowExecutionManager -- to override or not?



Dave Syer
Jun 29th, 2005, 05:02 AM
This is from the javadocs for FlowController referring to the flowExecutionManager property:

"Configures a single Flow definition to manage. Note this property should only be set as a convenience if fine-grained configuration of the flowExecutionManager is not neccessary."

I don't understand the "only" bit. When is it necessary to inject the flowExecutionManager? I have been using FlowExecutionListeners, and the only way I found to inject those was through the flowExecutionManager. Is this correct?

klr8
Jul 20th, 2005, 09:24 AM
That's correct. Basically, when you need special configuration for your FlowExecutionManager, you need to inject that properly configured instance into the FlowController.

Erwin