org.apache.maven.repository.internal
Class DefaultArtifactDescriptorReader

java.lang.Object
  extended by 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

Constructor Summary
DefaultArtifactDescriptorReader()
           
 
Method Summary
 void initService(ServiceLocator locator)
           
 ArtifactDescriptorResult readArtifactDescriptor(RepositorySystemSession session, ArtifactDescriptorRequest request)
           
 DefaultArtifactDescriptorReader setArtifactResolver(ArtifactResolver artifactResolver)
           
 DefaultArtifactDescriptorReader setLogger(Logger logger)
           
 DefaultArtifactDescriptorReader setModelBuilder(ModelBuilder modelBuilder)
           
 DefaultArtifactDescriptorReader setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager)
           
 DefaultArtifactDescriptorReader setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
           
 DefaultArtifactDescriptorReader setVersionResolver(VersionResolver versionResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactDescriptorReader

public DefaultArtifactDescriptorReader()
Method Detail

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.