01: /*
02: * Created on Nov 30, 2005
03: */
04: package uk.org.ponder.rsf.flow.support;
05:
06: import uk.org.ponder.rsf.flow.ARIResolver;
07: import uk.org.ponder.rsf.flow.ActionResultInterpreter;
08:
09: /** A basic implemenation of the ARIResolver interface which simply defers
10: * to a particular injected bean.
11: *
12: * @author Antranig Basman (antranig@caret.cam.ac.uk)
13: */
14:
15: public class BasicARIResolver implements ARIResolver {
16: private ActionResultInterpreter ari;
17:
18: public void setActionResultInterpreter(ActionResultInterpreter ari) {
19: this .ari = ari;
20: }
21:
22: public ActionResultInterpreter getActionResultInterpreter() {
23: return ari;
24: }
25:
26: }
|