| The central manager of all PreservationStrategies. This is a request-scope
bean which is called directly by the ActionHandler in order to be notified
of life-cycle events that require preservation, restoration and destruction
of the bean state stored by the Strategies.
This SPM implementation is specifically aware of "flow" scope state
as a first-class concept. It maintains three separate
pools of strategies, guided by their relationship to the flow lifecycle.
Plain "strategies" are used for storage during the main lifetime of a flow.
"startStrategies" are invoked not only during a flow, but at the initial
launching of a flow as well, to persist any required launch state (in
current RSF, this is a single bean, the FlowIDHolder). Finally, at the
expiration of a flow, the "endStrategies" operate to save any (presumably
reduced) state required to correctly render an "end of flow", "confirmation"
style page, stored into "bandgap" state with probably short lifetime.
author: Antranig Basman (amb26@ponder.org.uk) |