webwork/src/main/webwork default.properties,1.35,1.36
[email protected] Fri, 04 Jun 2004 00:57:56 -0700
| 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-serv5907/src/main/webwork
Modified Files:
default.properties
Log Message:
Allow basic 'AOP' style injection in webwork for method calls made via
reflection.
The basic usage will be to allow profiling to the code, although other
usages I'm sure are possible.
Fixes WW-550.
Added a new class 'InjectionUtils', and a new webwork property
'webwork.injection.class', which you can implement yourself.
Changed all usages of Method.invoke() to call InjectionUtils.invoke()
instead.
Index: default.properties
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/default.properties,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- default.properties 26 Mar 2004 15:56:54 -0000 1.35
+++ default.properties 4 Jun 2004 07:57:23 -0000 1.36
@@ -65,6 +65,11 @@
# platform as given by System.getProperty("file.encoding").
# webwork.i18n.encoding=utf-8
+### AOP
+# This allows for very basic AOP style injection
+# Implementation must implement webwork.util.InjectionUtils.InjectionImpl
+# webwork.injection.class = webwork.util.InjectionUtils.DefaultInjectionImpl
+
#### Velocity settings
# See the Velocity project (http://jakarta.apache.org/velocity/) for
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504