org.apache.maven.repository.internal
Class DefaultArtifactDescriptorReader
java.lang.Object
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
- All Implemented Interfaces:
- ArtifactDescriptorReader, Service
@Component(role=org.sonatype.aether.impl.ArtifactDescriptorReader.class)
public class DefaultArtifactDescriptorReader
- extends Object
- implements ArtifactDescriptorReader, Service
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultArtifactDescriptorReader
public DefaultArtifactDescriptorReader()
initService
public void initService(ServiceLocator locator)
- Specified by:
initService
in interface Service
setLogger
public DefaultArtifactDescriptorReader setLogger(Logger logger)
setRemoteRepositoryManager
public DefaultArtifactDescriptorReader setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager)
setVersionResolver
public DefaultArtifactDescriptorReader setVersionResolver(VersionResolver versionResolver)
setArtifactResolver
public DefaultArtifactDescriptorReader setArtifactResolver(ArtifactResolver artifactResolver)
setRepositoryEventDispatcher
public DefaultArtifactDescriptorReader setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
setModelBuilder
public DefaultArtifactDescriptorReader setModelBuilder(ModelBuilder modelBuilder)
readArtifactDescriptor
public ArtifactDescriptorResult readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
throws ArtifactDescriptorException
- Specified by:
readArtifactDescriptor
in interface ArtifactDescriptorReader
- Throws:
ArtifactDescriptorException
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.