james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r799830 - in /james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet: FileIntoAction.java KeepAction.java MailAction.java RedirectAction.java RejectAction.java
Date Sat, 01 Aug 2009 11:05:22 GMT
Author: rdonkin
Date: Sat Aug  1 11:05:22 2009
New Revision: 799830

URL: http://svn.apache.org/viewvc?rev=799830&view=rev
Log:
JSIEVE-68 Clarify thread safety https://issues.apache.org/jira/browse/JSIEVE-68

Modified:
    james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/FileIntoAction.java
    james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/KeepAction.java
    james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/MailAction.java
    james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RedirectAction.java
    james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RejectAction.java

Modified: james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/FileIntoAction.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/FileIntoAction.java?rev=799830&r1=799829&r2=799830&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/FileIntoAction.java (original)
+++ james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/FileIntoAction.java Sat
Aug  1 11:05:22 2009
@@ -27,6 +27,11 @@
 import org.apache.mailet.Mail;
 import org.apache.mailet.MailAddress;
 
+/**
+ * Performs the filing of a mail into a specified destination. 
+ * <h4>Thread Safety</h4>
+ * <p>An instance maybe safe accessed concurrently by multiple threads.</p>
+ */
 public class FileIntoAction implements MailAction {
     
     private static final char HIERARCHY_DELIMITER = '.';

Modified: james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/KeepAction.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/KeepAction.java?rev=799830&r1=799829&r2=799830&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/KeepAction.java (original)
+++ james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/KeepAction.java Sat Aug
 1 11:05:22 2009
@@ -25,6 +25,11 @@
 import org.apache.jsieve.mail.ActionKeep;
 import org.apache.mailet.Mail;
 
+/**
+ * Performs the filing of a mail into the inbox. 
+ * <h4>Thread Safety</h4>
+ * <p>An instance maybe safe accessed concurrently by multiple threads.</p>
+ */
 public class KeepAction extends FileIntoAction implements MailAction {
     
     private static final String INBOX = "INBOX";

Modified: james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/MailAction.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/MailAction.java?rev=799830&r1=799829&r2=799830&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/MailAction.java (original)
+++ james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/MailAction.java Sat Aug
 1 11:05:22 2009
@@ -25,6 +25,7 @@
 
 /**
  * Executes a Sieve action.
+ * Implementations may be accessed concurrently by multiple threads.
  */
 public interface MailAction {
     

Modified: james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RedirectAction.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RedirectAction.java?rev=799830&r1=799829&r2=799830&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RedirectAction.java (original)
+++ james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RedirectAction.java Sat
Aug  1 11:05:22 2009
@@ -30,6 +30,11 @@
 import org.apache.mailet.Mail;
 import org.apache.mailet.MailAddress;
 
+/**
+ * Performs the redirection of a mail. 
+ * <h4>Thread Safety</h4>
+ * <p>An instance maybe safe accessed concurrently by multiple threads.</p>
+ */
 public class RedirectAction implements MailAction {
 
     public void execute(Action action, Mail mail, ActionContext context)

Modified: james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RejectAction.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RejectAction.java?rev=799830&r1=799829&r2=799830&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RejectAction.java (original)
+++ james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/RejectAction.java Sat
Aug  1 11:05:22 2009
@@ -41,6 +41,11 @@
 import org.apache.jsieve.mailet.mdn.SendingModeAutomatic;
 import org.apache.jsieve.mailet.mdn.TypeDeleted;
 
+/**
+ * Performs the rejection of a mail, with a reply to the sender. 
+ * <h4>Thread Safety</h4>
+ * <p>An instance maybe safe accessed concurrently by multiple threads.</p>
+ */
 public class RejectAction implements MailAction {
 
     public void execute(Action action, Mail mail, ActionContext context)



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


Mime
View raw message