add missing spring annotations

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179622 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-10-06 13:37:14 +00:00
parent b351e202b5
commit d2d067a343
1 changed files with 4 additions and 0 deletions

View File

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