org.apache.maven.repository.internal
Class DefaultVersionRangeResolver

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

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

Author:
Benjamin Bentmann

Constructor Summary
DefaultVersionRangeResolver()
           
 
Method Summary
 void initService(org.sonatype.aether.spi.locator.ServiceLocator locator)
           
 org.sonatype.aether.resolution.VersionRangeResult resolveVersionRange(org.sonatype.aether.RepositorySystemSession session, org.sonatype.aether.resolution.VersionRangeRequest request)
           
 DefaultVersionRangeResolver setLogger(org.sonatype.aether.spi.log.Logger logger)
           
 DefaultVersionRangeResolver 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

DefaultVersionRangeResolver

public DefaultVersionRangeResolver()
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 DefaultVersionRangeResolver setLogger(org.sonatype.aether.spi.log.Logger logger)

setMetadataResolver

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

resolveVersionRange

public org.sonatype.aether.resolution.VersionRangeResult resolveVersionRange(org.sonatype.aether.RepositorySystemSession session,
                                                                             org.sonatype.aether.resolution.VersionRangeRequest request)
                                                                      throws org.sonatype.aether.resolution.VersionRangeResolutionException
Specified by:
resolveVersionRange in interface org.sonatype.aether.impl.VersionRangeResolver
Throws:
org.sonatype.aether.resolution.VersionRangeResolutionException


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