james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r684773 - in /james/server/trunk: core-library/src/main/java/org/apache/james/services/ spoolmanager-function/src/main/java/org/apache/james/transport/
Date Mon, 11 Aug 2008 15:15:23 GMT
Author: bago
Date: Mon Aug 11 08:15:21 2008
New Revision: 684773

URL: http://svn.apache.org/viewvc?rev=684773&view=rev
Log:
MailProcessor is an interface representing a subset of Mailet used and implemented only locally
to the spoolmanager function.
Let's move it there, we can move it again once we factor out the spoolmanager-function.

Added:
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/MailProcessor.java
  (contents, props changed)
      - copied, changed from r684545, james/server/trunk/core-library/src/main/java/org/apache/james/services/MailProcessor.java
Removed:
    james/server/trunk/core-library/src/main/java/org/apache/james/services/MailProcessor.java
Modified:
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/JamesSpoolManager.java
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/LinearProcessor.java
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/ProcessorList.java
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/StateAwareProcessorList.java

Modified: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/JamesSpoolManager.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/JamesSpoolManager.java?rev=684773&r1=684772&r2=684773&view=diff
==============================================================================
--- james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/JamesSpoolManager.java
(original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/JamesSpoolManager.java
Mon Aug 11 08:15:21 2008
@@ -31,7 +31,6 @@
 import org.apache.avalon.framework.service.ServiceException;
 import org.apache.avalon.framework.service.ServiceManager;
 import org.apache.avalon.framework.service.Serviceable;
-import org.apache.james.services.MailProcessor;
 import org.apache.james.services.SpoolRepository;
 import org.apache.james.services.SpoolManager;
 import org.apache.mailet.Mail;

Modified: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/LinearProcessor.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/LinearProcessor.java?rev=684773&r1=684772&r2=684773&view=diff
==============================================================================
--- james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/LinearProcessor.java
(original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/LinearProcessor.java
Mon Aug 11 08:15:21 2008
@@ -31,7 +31,6 @@
 import org.apache.avalon.framework.service.ServiceManager;
 import org.apache.avalon.framework.service.Serviceable;
 import org.apache.james.core.MailImpl;
-import org.apache.james.services.MailProcessor;
 import org.apache.james.services.SpoolRepository;
 import org.apache.james.util.mailet.MatcherInverter;
 import org.apache.mailet.GenericMailet;
@@ -279,7 +278,7 @@
      * @throws IllegalStateException when this method is called before the processor lists
have been closed
      *                                  or the spool has been initialized
      *
-     * @see org.apache.james.services.MailProcessor#service(org.apache.mailet.Mail)
+     * @see org.apache.james.transport.MailProcessor#service(org.apache.mailet.Mail)
      */
     public void service(Mail mail) throws MessagingException {
         if (spool == null) {

Copied: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/MailProcessor.java
(from r684545, james/server/trunk/core-library/src/main/java/org/apache/james/services/MailProcessor.java)
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/MailProcessor.java?p2=james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/MailProcessor.java&p1=james/server/trunk/core-library/src/main/java/org/apache/james/services/MailProcessor.java&r1=684545&r2=684773&rev=684773&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/services/MailProcessor.java
(original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/MailProcessor.java
Mon Aug 11 08:15:21 2008
@@ -19,7 +19,7 @@
 
 
 
-package org.apache.james.services;
+package org.apache.james.transport;
 
 import org.apache.mailet.Mail;
 

Propchange: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/MailProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/ProcessorList.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/ProcessorList.java?rev=684773&r1=684772&r2=684773&view=diff
==============================================================================
--- james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/ProcessorList.java
(original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/ProcessorList.java
Mon Aug 11 08:15:21 2008
@@ -18,7 +18,6 @@
  ****************************************************************/
 package org.apache.james.transport;
 
-import org.apache.james.services.MailProcessor;
 
 /**
  * provide access on child processor

Modified: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/StateAwareProcessorList.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/StateAwareProcessorList.java?rev=684773&r1=684772&r2=684773&view=diff
==============================================================================
--- james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/StateAwareProcessorList.java
(original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/StateAwareProcessorList.java
Mon Aug 11 08:15:21 2008
@@ -31,7 +31,6 @@
 import org.apache.avalon.framework.service.ServiceException;
 import org.apache.avalon.framework.service.ServiceManager;
 import org.apache.avalon.framework.service.Serviceable;
-import org.apache.james.services.MailProcessor;
 import org.apache.mailet.Mail;
 import org.apache.mailet.MailetException;
 import javax.mail.MessagingException;
@@ -130,7 +129,7 @@
      *
      * @param mail the mail message to be processed
      *
-     * @see org.apache.james.services.MailProcessor#service(org.apache.mailet.Mail)
+     * @see org.apache.james.transport.MailProcessor#service(org.apache.mailet.Mail)
      */
     public void service(Mail mail) {
         while (true) {



---------------------------------------------------------------------
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