]> source.dussan.org Git - archiva.git/commitdiff
spring-cache move to o.a.a namespace
authorOlivier Lamy <olamy@apache.org>
Wed, 11 Apr 2012 08:26:27 +0000 (08:26 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 11 Apr 2012 08:26:27 +0000 (08:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1324627 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-policies/src/main/java/org/apache/archiva/policies/urlcache/DefaultUrlFailureCache.java
archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultSystemStatusService.java
archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/action/admin/SystemStatusAction.java

index 12281e632919c4dc3c0a0aa6a6de36d2e28ad69f..d5da703f9a4d998eebb36c21045cc47c6d77314d 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.archiva.policies.urlcache;
  * under the License.
  */
 
-import org.codehaus.plexus.cache.Cache;
+import org.apache.archiva.redback.components.cache.Cache;
 
 import java.util.Date;
 
index bf569ffd368daf39d7c7cf47bddf1c65b91a72fe..cf5bda1c85c308c6053ce3512b36c87e93ef6a90 100644 (file)
@@ -34,7 +34,7 @@
         class="org.apache.archiva.policies.urlcache.DefaultUrlFailureCache" lazy-init="true">
     <!-- collaborators and configuration for this bean go here -->
     <constructor-arg ref="url-failures-cache"
-                     type="org.codehaus.plexus.cache.Cache"/>
+                     type="org.apache.archiva.redback.components.cache.Cache"/>
   </bean>
 
   <bean id="url-failures-cache" class="org.codehaus.plexus.cache.ehcache.EhcacheCache" lazy-init="true"
index 404f3434cc52d897860de7906a800f7ca756db8f..60c9de77d835f1640d25478259e5b0ae04282588 100644 (file)
@@ -18,6 +18,7 @@ package org.apache.archiva.rest.services;
  * under the License.
  */
 
+import org.apache.archiva.redback.components.cache.Cache;
 import org.apache.archiva.repository.scanner.RepositoryScanner;
 import org.apache.archiva.repository.scanner.RepositoryScannerInstance;
 import org.apache.archiva.rest.api.model.CacheEntry;
@@ -27,8 +28,7 @@ import org.apache.archiva.rest.api.model.RepositoryScannerStatistics;
 import org.apache.archiva.rest.api.services.ArchivaRestServiceException;
 import org.apache.archiva.rest.api.services.SystemStatusService;
 import org.apache.archiva.rest.services.utils.ConsumerScanningStatisticsComparator;
-import org.codehaus.plexus.cache.Cache;
-import org.codehaus.plexus.cache.CacheStatistics;
+import org.apache.archiva.redback.components.cache.CacheStatistics;
 import org.codehaus.plexus.taskqueue.TaskQueue;
 import org.codehaus.plexus.taskqueue.TaskQueueException;
 import org.springframework.context.ApplicationContext;
index 2b78671d07068c13cadd0eeb6225887b1e166891..00c1143ea3c43d815521e136ea8d53daffc5730e 100644 (file)
@@ -24,7 +24,7 @@ import org.apache.archiva.repository.scanner.RepositoryScanner;
 import org.apache.archiva.security.common.ArchivaRoleConstants;
 import org.apache.commons.lang.StringUtils;
 import org.apache.archiva.web.action.AbstractActionSupport;
-import org.codehaus.plexus.cache.Cache;
+import org.apache.archiva.redback.components.cache.Cache;
 import org.codehaus.plexus.taskqueue.TaskQueue;
 import org.apache.archiva.redback.integration.interceptor.SecureAction;
 import org.apache.archiva.redback.integration.interceptor.SecureActionBundle;