james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r684761 - in /james/server/trunk: core-library/src/main/java/org/apache/james/domain/ core-library/src/main/java/org/apache/james/management/ core-library/src/main/java/org/apache/james/services/ core-library/src/main/resources/org/apache/j...
Date Mon, 11 Aug 2008 14:42:26 GMT
Author: bago
Date: Mon Aug 11 07:42:19 2008
New Revision: 684761

URL: http://svn.apache.org/viewvc?rev=684761&view=rev
Log:
ManageableDomainList is an extension api of DomainList. Moved to domain-api in the api.domain
package.

Added:
    james/server/trunk/domain-api/src/main/java/org/apache/james/api/domainlist/ManageableDomainList.java
  (contents, props changed)
      - copied, changed from r684545, james/server/trunk/core-library/src/main/java/org/apache/james/services/ManageableDomainList.java
Removed:
    james/server/trunk/core-library/src/main/java/org/apache/james/services/ManageableDomainList.java
Modified:
    james/server/trunk/core-library/src/main/java/org/apache/james/domain/AbstractDomainList.java
    james/server/trunk/core-library/src/main/java/org/apache/james/management/DomainListManagement.java
    james/server/trunk/core-library/src/main/resources/org/apache/james/domain/JDBCDomainList.xinfo
    james/server/trunk/core-library/src/main/resources/org/apache/james/domain/XMLDomainList.xinfo
    james/server/trunk/core-library/src/test/java/org/apache/james/domain/XMLDomainListTest.java
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java

Modified: james/server/trunk/core-library/src/main/java/org/apache/james/domain/AbstractDomainList.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/java/org/apache/james/domain/AbstractDomainList.java?rev=684761&r1=684760&r2=684761&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/domain/AbstractDomainList.java
(original)
+++ james/server/trunk/core-library/src/main/java/org/apache/james/domain/AbstractDomainList.java
Mon Aug 11 07:42:19 2008
@@ -34,7 +34,7 @@
 import org.apache.avalon.framework.service.ServiceManager;
 import org.apache.avalon.framework.service.Serviceable;
 import org.apache.james.api.dnsservice.DNSService;
-import org.apache.james.services.ManageableDomainList;
+import org.apache.james.api.domainlist.ManageableDomainList;
 
 /**
  * All implementations of the DomainList interface should extends this abstract class
@@ -131,7 +131,7 @@
     }
     
     /**
-     * @see org.apache.james.services.ManageableDomainList#addDomain(java.lang.String)
+     * @see org.apache.james.api.domainlist.ManageableDomainList#addDomain(java.lang.String)
      */
     public synchronized boolean addDomain(String domain) {
         getLogger().info("Add domain " + domain + " to DomainList");
@@ -141,7 +141,7 @@
     }
     
     /**
-     * @see org.apache.james.services.ManageableDomainList#removeDomain(java.lang.String)
+     * @see org.apache.james.api.domainlist.ManageableDomainList#removeDomain(java.lang.String)
      */
     public synchronized boolean removeDomain(String domain) {
         getLogger().info("Remove domain " + domain + " from DomainList");

Modified: james/server/trunk/core-library/src/main/java/org/apache/james/management/DomainListManagement.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/java/org/apache/james/management/DomainListManagement.java?rev=684761&r1=684760&r2=684761&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/management/DomainListManagement.java
(original)
+++ james/server/trunk/core-library/src/main/java/org/apache/james/management/DomainListManagement.java
Mon Aug 11 07:42:19 2008
@@ -27,7 +27,7 @@
 import org.apache.avalon.framework.service.ServiceManager;
 import org.apache.avalon.framework.service.Serviceable;
 import org.apache.james.api.domainlist.DomainList;
-import org.apache.james.services.ManageableDomainList;
+import org.apache.james.api.domainlist.ManageableDomainList;
 
 /**
  * Provide management class for DomainLists

Modified: james/server/trunk/core-library/src/main/resources/org/apache/james/domain/JDBCDomainList.xinfo
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/resources/org/apache/james/domain/JDBCDomainList.xinfo?rev=684761&r1=684760&r2=684761&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/resources/org/apache/james/domain/JDBCDomainList.xinfo
(original)
+++ james/server/trunk/core-library/src/main/resources/org/apache/james/domain/JDBCDomainList.xinfo
Mon Aug 11 07:42:19 2008
@@ -26,7 +26,7 @@
   </block>
 
   <services>
-    <service name="org.apache.james.services.ManageableDomainList" version="1.0" />
+    <service name="org.apache.james.api.domainlist.ManageableDomainList" version="1.0"
/>
     <service name="org.apache.james.api.domainlist.DomainList" version="1.0" />
   </services>
   

Modified: james/server/trunk/core-library/src/main/resources/org/apache/james/domain/XMLDomainList.xinfo
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/resources/org/apache/james/domain/XMLDomainList.xinfo?rev=684761&r1=684760&r2=684761&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/resources/org/apache/james/domain/XMLDomainList.xinfo
(original)
+++ james/server/trunk/core-library/src/main/resources/org/apache/james/domain/XMLDomainList.xinfo
Mon Aug 11 07:42:19 2008
@@ -26,7 +26,7 @@
   </block>
 
   <services>
-    <service name="org.apache.james.services.ManageableDomainList" version="1.0" />
+    <service name="org.apache.james.api.domainlist.ManageableDomainList" version="1.0"
/>
     <service name="org.apache.james.api.domainlist.DomainList" version="1.0" />
   </services>
   

Modified: james/server/trunk/core-library/src/test/java/org/apache/james/domain/XMLDomainListTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/test/java/org/apache/james/domain/XMLDomainListTest.java?rev=684761&r1=684760&r2=684761&view=diff
==============================================================================
--- james/server/trunk/core-library/src/test/java/org/apache/james/domain/XMLDomainListTest.java
(original)
+++ james/server/trunk/core-library/src/test/java/org/apache/james/domain/XMLDomainListTest.java
Mon Aug 11 07:42:19 2008
@@ -30,8 +30,8 @@
 import org.apache.avalon.framework.configuration.DefaultConfiguration;
 import org.apache.avalon.framework.container.ContainerUtil;
 import org.apache.james.api.dnsservice.DNSService;
+import org.apache.james.api.domainlist.ManageableDomainList;
 import org.apache.james.services.AbstractDNSServer;
-import org.apache.james.services.ManageableDomainList;
 import org.apache.james.test.mock.avalon.MockLogger;
 import org.apache.james.test.mock.avalon.MockServiceManager;
 

Copied: james/server/trunk/domain-api/src/main/java/org/apache/james/api/domainlist/ManageableDomainList.java
(from r684545, james/server/trunk/core-library/src/main/java/org/apache/james/services/ManageableDomainList.java)
URL: http://svn.apache.org/viewvc/james/server/trunk/domain-api/src/main/java/org/apache/james/api/domainlist/ManageableDomainList.java?p2=james/server/trunk/domain-api/src/main/java/org/apache/james/api/domainlist/ManageableDomainList.java&p1=james/server/trunk/core-library/src/main/java/org/apache/james/services/ManageableDomainList.java&r1=684545&r2=684761&rev=684761&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/services/ManageableDomainList.java
(original)
+++ james/server/trunk/domain-api/src/main/java/org/apache/james/api/domainlist/ManageableDomainList.java
Mon Aug 11 07:42:19 2008
@@ -19,9 +19,8 @@
 
 
 
-package org.apache.james.services;
+package org.apache.james.api.domainlist;
 
-import org.apache.james.api.domainlist.DomainList;
 
 /**
  * Services which allow to manage the DomainList should implement this interface

Propchange: james/server/trunk/domain-api/src/main/java/org/apache/james/api/domainlist/ManageableDomainList.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java?rev=684761&r1=684760&r2=684761&view=diff
==============================================================================
--- james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java (original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java Mon
Aug 11 07:42:19 2008
@@ -39,6 +39,7 @@
 import org.apache.james.api.dnsservice.DNSService;
 import org.apache.james.api.dnsservice.TemporaryResolutionException;
 import org.apache.james.api.domainlist.DomainList;
+import org.apache.james.api.domainlist.ManageableDomainList;
 import org.apache.james.api.user.UsersRepository;
 import org.apache.james.api.user.UsersStore;
 import org.apache.james.core.MailHeaders;
@@ -47,7 +48,6 @@
 import org.apache.james.services.FileSystem;
 import org.apache.james.services.MailRepository;
 import org.apache.james.services.MailServer;
-import org.apache.james.services.ManageableDomainList;
 import org.apache.james.services.SpoolRepository;
 import org.apache.james.transport.MailetConfigImpl;
 import org.apache.james.transport.mailets.LocalDelivery;



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