james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/transport/mailets Redirect.java
Date Wed, 12 Mar 2003 19:37:23 GMT
noel        2003/03/12 11:37:23

  Modified:    src/java/org/apache/james/transport/mailets Redirect.java
  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 @@
   *<TD width="20%">&lt;static&gt;</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 &quot;getters&quot; for every mail
  +*<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 &lt;sender&gt;
  +*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>

To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org

View raw message