org.apache.maven.repository.internal
Class DefaultVersionResolver

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

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

Author:
Benjamin Bentmann

Constructor Summary
DefaultVersionResolver()
           
 
Method Summary
 void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
           
 org.eclipse.aether.resolution.VersionResult resolveVersion(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request)
           
 DefaultVersionResolver setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
           
 DefaultVersionResolver setMetadataResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver)
           
 DefaultVersionResolver setRepositoryEventDispatcher(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher)
           
 DefaultVersionResolver setSyncContextFactory(org.eclipse.aether.impl.SyncContextFactory syncContextFactory)
           
 
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.eclipse.aether.spi.locator.ServiceLocator locator)
Specified by:
initService in interface org.eclipse.aether.spi.locator.Service

setLoggerFactory

public DefaultVersionResolver setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)

setMetadataResolver

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

setSyncContextFactory

public DefaultVersionResolver setSyncContextFactory(org.eclipse.aether.impl.SyncContextFactory syncContextFactory)

setRepositoryEventDispatcher

public DefaultVersionResolver setRepositoryEventDispatcher(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher)

resolveVersion

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


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.