aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-10-06 13:37:14 +0000
committerOlivier Lamy <olamy@apache.org>2011-10-06 13:37:14 +0000
commitd2d067a343fae191ff5e4bdeb1d511449e0e7f3a (patch)
treeb73b19e519bbe44f35539522a74635596a4f6e24
parentb351e202b59c6d8c0d75eaf97c9378e772fa04a9 (diff)
downloadarchiva-d2d067a343fae191ff5e4bdeb1d511449e0e7f3a.tar.gz
archiva-d2d067a343fae191ff5e4bdeb1d511449e0e7f3a.zip
add missing spring annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179622 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java4
1 files changed, 4 insertions, 0 deletions
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