]> source.dussan.org Git - archiva.git/commitdiff
add missing spring annotations
authorOlivier Lamy <olamy@apache.org>
Thu, 6 Oct 2011 13:37:14 +0000 (13:37 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 6 Oct 2011 13:37:14 +0000 (13:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179622 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java

index f5f6893becdc264926636a05c87d910dc90e5307..e9a66545166588a502117ac81fd48ada7cd6faec 100644 (file)
@@ -30,6 +30,8 @@ import org.apache.archiva.consumers.ConsumerException;
 import org.apache.archiva.consumers.KnownRepositoryContentConsumer;
 import org.codehaus.plexus.registry.Registry;
 import org.codehaus.plexus.registry.RegistryListener;
+import org.springframework.context.annotation.Scope;
+import org.springframework.stereotype.Service;
 
 import javax.annotation.PostConstruct;
 import java.io.File;
@@ -43,6 +45,8 @@ import java.util.List;
  *
  * @version $Id$
  */
+@Service("knownRepositoryContentConsumer#create-missing-checksums")
+@Scope("prototype")
 public class ArtifactMissingChecksumsConsumer
     extends AbstractMonitoredConsumer
     implements KnownRepositoryContentConsumer, RegistryListener