01: package org.strecks.controller;
02:
03: import org.strecks.source.ActionBeanSource;
04:
05: /**
06: * Represents a mechanism for configuring the <code>ActionBeanSource</code> of a controller.
07: * Allows controllers to be instantiated in different ways, depending on how the bean source
08: * annotation reader is implemented
09: * @author Phil Zoio
10: */
11: public interface BeanSourceAware {
12:
13: /**
14: * Sets the name of the bean source class used to load action beans on a per-request basis
15: */
16: void setBeanSource(ActionBeanSource clazz);
17: }
|