org.apache.maven.repository.internal
Class DefaultVersionResolver

java.lang.Object
  extended by org.apache.maven.repository.internal.DefaultVersionResolver
All Implemented Interfaces:
org.sonatype.aether.impl.VersionResolver, org.sonatype.aether.spi.locator.Service

@Component(role=org.sonatype.aether.impl.VersionResolver.class)
public class DefaultVersionResolver
extends Object
implements org.sonatype.aether.impl.VersionResolver, org.sonatype.aether.spi.locator.Service

Author:
Benjamin Bentmann

Constructor Summary
DefaultVersionResolver()
           
 
Method Summary
 void initService(org.sonatype.aether.spi.locator.ServiceLocator locator)
           
 org.sonatype.aether.resolution.VersionResult resolveVersion(org.sonatype.aether.RepositorySystemSession session, org.sonatype.aether.resolution.VersionRequest request)
           
 DefaultVersionResolver setLogger(org.sonatype.aether.spi.log.Logger logger)
           
 DefaultVersionResolver setMetadataResolver(org.sonatype.aether.impl.MetadataResolver metadataResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVersionResolver

public DefaultVersionResolver()
Method Detail

initService

public void initService(org.sonatype.aether.spi.locator.ServiceLocator locator)
Specified by:
initService in interface org.sonatype.aether.spi.locator.Service

setLogger

public DefaultVersionResolver setLogger(org.sonatype.aether.spi.log.Logger logger)

setMetadataResolver

public DefaultVersionResolver setMetadataResolver(org.sonatype.aether.impl.MetadataResolver metadataResolver)

resolveVersion

public org.sonatype.aether.resolution.VersionResult resolveVersion(org.sonatype.aether.RepositorySystemSession session,
                                                                   org.sonatype.aether.resolution.VersionRequest request)
                                                            throws org.sonatype.aether.resolution.VersionResolutionException
Specified by:
resolveVersion in interface org.sonatype.aether.impl.VersionResolver
Throws:
org.sonatype.aether.resolution.VersionResolutionException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.