noel 2003/03/12 11:37:23 Modified: src/java/org/apache/james/transport/mailets Redirect.java Log: Improved javadocs for the static parameter Revision Changes Path 1.24 +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.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- Redirect.java 8 Mar 2003 21:14:08 -0000 1.23 +++ Redirect.java 12 Mar 2003 19:37:23 -0000 1.24 @@ -194,15 +194,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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
