01: /*
02: * Created on Nov 23, 2005
03: */
04: package uk.org.ponder.rsf.flow.lite;
05:
06: import uk.org.ponder.springutil.XMLFactoryBean;
07:
08: /** A factory bean for producing "FlowLite" Flow definition objects.
09: * Principally exists to call the init() method on the product.
10: * @author Antranig Basman (amb26@ponder.org.uk)
11: *
12: */
13:
14: public class XMLFlowFactoryBean extends XMLFactoryBean {
15: public XMLFlowFactoryBean() {
16: setObjectType(Flow.class);
17: }
18:
19: public Object getObject() throws Exception {
20: Flow togo = (Flow) super.getObject();
21: togo.init();
22: return togo;
23: }
24: }
|