You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2003/03/12 20:37:12 UTC
cvs commit: jakarta-james/src/java/org/apache/james/transport/mailets Redirect.java
noel 2003/03/12 11:37:12
Modified: src/java/org/apache/james/transport/mailets Tag:
branch_2_1_fcs Redirect.java
Log:
Improved javadocs for the static parameter
Revision Changes Path
No revision
No revision
1.18.4.3 +7 -8 jakarta-james/src/java/org/apache/james/transport/mailets/Redirect.java
Index: Redirect.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/Redirect.java,v
retrieving revision 1.18.4.2
retrieving revision 1.18.4.3
diff -u -r1.18.4.2 -r1.18.4.3
--- Redirect.java 8 Mar 2003 21:54:08 -0000 1.18.4.2
+++ Redirect.java 12 Mar 2003 19:37:09 -0000 1.18.4.3
@@ -199,15 +199,14 @@
*<TR>
*<TD width="20%"><static></TD>
*<TD width="80%">
-*<P>TRUE or FALSE, if this is true it hints to the mailet that none of the
-*parameters are set dynamically, and therefore they can be set once in
-*the init method.<BR>
-*False tells the mailet to call all the "getters" for every mail
-*processed.</P>
+*<P>TRUE or FALSE. If this is TRUE it tells the mailet that it can
+*reuse all the initial parameters (to, from, etc) without re-calculating
+*their values. This will boost performance where a redirect task
+*doesn't contain any dynamic values. If this is FALSE, it tells the
+*mailet to recalculate the values for each e-mail processed.</P>
+*<P>Note: If you use "magic words" such as "sender" in the <sender>
+*tag, you must NOT use set static to TRUE.</P>
*<P>This defaults to false.<BR>
-*It should be TRUE in all cases, except where one of the getter methods
-*has been overriden to provide dynamic values, such as a listserve which
-*might override getRecipients() to get a list from a users repository.</P>
*</TD>
*</TR>
*</TABLE>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org