01: /*
02: * Copyright (c) 2002-2006 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.xwork;
06:
07: /**
08: * ModelDriven Actions provide a model object to be pushed onto the ValueStack
09: * in addition to the Action itself, allowing a FormBean type approach like Struts.
10: *
11: * @author Jason Carreira
12: * Created Apr 8, 2003 6:22:42 PM
13: */
14: public interface ModelDriven {
15:
16: /**
17: * @return the model to be pushed onto the ValueStack instead of the Action itself
18: */
19: Object getModel();
20: }
|