01: /*
02: * Created on 14 Sep 2006
03: */
04: package uk.org.ponder.rsf.view;
05:
06: /** Allows a producer to report its "class" or category (corresponding to a
07: * "component type" in other framework), e.g. richText, dateInput or the like.
08: * This allows a form of "autowiring by type" whereby users need not explicitly
09: * configure in the producer for each type of "component", but rather just
10: * expose a setter named, for example, <code>setRichTextProducer</code> or
11: * <code>setDateInputProducer</code> which accepts an argument conformable
12: * to the actual type of "producer" implementing this interface.
13: *
14: * @author Antranig Basman (antranig@caret.cam.ac.uk)
15: *
16: */
17: public interface ProducerClassReporter {
18: public String getProducerClass();
19: }
|