01: /*
02: * Created on 13 Sep 2007
03: */
04: package uk.org.ponder.rsf.swf.support;
05:
06: import org.springframework.webflow.execution.FlowExecution;
07:
08: /** The wrapper for a body of work which is to be done within an SWF flow state.
09: * Handed as an argument to
10: * @author Antranig Basman (antranig@caret.cam.ac.uk)
11: *
12: */
13:
14: public interface SWFExecutionPayload {
15: /** Accept an SWF FlowExecution within the body of a flow state, and return
16: * and event which is to be signalled, or <code>null</code> if no event is
17: * required.
18: */
19: public void executeInRequest(FlowExecution execution,
20: ResponseInstructionGetter rig);
21: }
|