aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-repository-layer
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-08-22 15:11:34 +0000
committerOlivier Lamy <olamy@apache.org>2011-08-22 15:11:34 +0000
commit30ebe43f5972c545bb3a1c4b4059a1e5b0684aeb (patch)
tree82dfa998021b624d2183cef99692fe5f027d6326 /archiva-modules/archiva-base/archiva-repository-layer
parent0c7626a1374f2e3d08b75261d866e7601e6c5682 (diff)
downloadarchiva-30ebe43f5972c545bb3a1c4b4059a1e5b0684aeb.tar.gz
archiva-30ebe43f5972c545bb3a1c4b4059a1e5b0684aeb.zip
simplify inject of bean list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160293 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-layer')
-rw-r--r--archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/AbstractDefaultRepositoryContent.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/AbstractDefaultRepositoryContent.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/AbstractDefaultRepositoryContent.java
index 8c685a72c..a8556c9cc 100644
--- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/AbstractDefaultRepositoryContent.java
+++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/AbstractDefaultRepositoryContent.java
@@ -62,16 +62,17 @@ public abstract class AbstractDefaultRepositoryContent
/**
* plexus.requirement role="org.apache.archiva.metadata.repository.storage.maven2.ArtifactMappingProvider"
*/
- protected List<? extends ArtifactMappingProvider> artifactMappingProviders;
-
@Inject
- protected ApplicationContext applicationContext;
+ protected List<ArtifactMappingProvider> artifactMappingProviders;
+
+ //@Inject
+ //protected ApplicationContext applicationContext;
@PostConstruct
protected void initialize()
{
- artifactMappingProviders = new ArrayList<ArtifactMappingProvider>(
- applicationContext.getBeansOfType( ArtifactMappingProvider.class ).values() );
+ //artifactMappingProviders = new ArrayList<ArtifactMappingProvider>(
+ // applicationContext.getBeansOfType( ArtifactMappingProvider.class ).values() );
}
public ArtifactReference toArtifactReference( String path )