From d2d067a343fae191ff5e4bdeb1d511449e0e7f3a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 6 Oct 2011 13:37:14 +0000 Subject: [PATCH] add missing spring annotations git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179622 13f79535-47bb-0310-9956-ffa450edef68 --- .../consumers/core/ArtifactMissingChecksumsConsumer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java index f5f6893be..e9a665451 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java @@ -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