webwork/src/main/webwork default.properties,1.37,1.38
[email protected] Sun, 16 Jan 2005 23:28:56 -0800
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/opensymphony/webwork/src/main/webwork In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18098/src/main/webwork Modified Files: default.properties Log Message: Allow instantiation of classes to be pluggable from within webwork. This allows you to use Pico or Spring to instantiate the webwork classes that you need. This is especially useful for instantiating beans in web pages (using <webwork:bean..> There is a new property 'webwork.injection.objectcreator' that you can specify to load a class to instantiate your objects. Note that other object loaded directly through the webwork.properties file are not passed through this object creation process. Fixes WW-723 Index: default.properties =================================================================== RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/default.properties,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- default.properties 17 Jan 2005 05:10:35 -0000 1.37 +++ default.properties 17 Jan 2005 07:28:09 -0000 1.38 @@ -73,6 +73,9 @@ # Implementation must implement webwork.util.InjectionUtils.InjectionImpl # webwork.injection.class = webwork.util.InjectionUtils.DefaultInjectionImpl +## Factory for creating objects +# This factory must implement webwork.util.injection.ObjectCreator +# webwork.injection.objectcreator=webwork.util.injection.DefaultObjectCreator #### Velocity settings # See the Velocity project (http://jakarta.apache.org/velocity/) for ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt