01: /*
02: * Created on 16 Jul 2007
03: */
04: package uk.org.ponder.rsf.swf.support;
05:
06: import uk.org.ponder.beanutil.BeanLocator;
07:
08: /** A base class that will store the (single, expected) path segment applied
09: * to this binding bean, which is expected in request scope. This form object
10: * name will be used on conclusion of the event cycle to look up relevant
11: * information from the outgoing scope (e.g. errors list).
12: * @author Antranig Basman (antranig@caret.cam.ac.uk)
13: */
14:
15: public class BindingBeanSupport implements BeanLocator {
16: protected SWFExecutor executor;
17:
18: public void setExecutor(SWFExecutor executor) {
19: this .executor = executor;
20: }
21:
22: protected String formObjectName;
23:
24: public Object locateBean(String name) {
25: formObjectName = name;
26: return this;
27: }
28:
29: }
|