org.sonatype.aether.impl.internal
Class DefaultLocalRepositoryProvider
java.lang.Object
org.sonatype.aether.impl.internal.DefaultLocalRepositoryProvider
- All Implemented Interfaces:
- LocalRepositoryProvider, Service
@Component(role=LocalRepositoryProvider.class)
public class DefaultLocalRepositoryProvider
- extends Object
- implements LocalRepositoryProvider, Service
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLocalRepositoryProvider
public DefaultLocalRepositoryProvider()
initService
public void initService(ServiceLocator locator)
- Description copied from interface:
Service
- Provides the opportunity to initialize this service and to acquire other services for its operation from the
locator. A service must not save the reference to the provided service locator.
- Specified by:
initService
in interface Service
- Parameters:
locator
- The service locator, must not be null
.
setLogger
public DefaultLocalRepositoryProvider setLogger(Logger logger)
setLocalRepositoryManagerFactories
public DefaultLocalRepositoryProvider setLocalRepositoryManagerFactories(List<LocalRepositoryManagerFactory> factories)
addLocalRepositoryManagerFactory
public DefaultLocalRepositoryProvider addLocalRepositoryManagerFactory(LocalRepositoryManagerFactory factory)
newLocalRepositoryManager
public LocalRepositoryManager newLocalRepositoryManager(LocalRepository localRepository)
throws NoLocalRepositoryManagerException
- Specified by:
newLocalRepositoryManager
in interface LocalRepositoryProvider
- Throws:
NoLocalRepositoryManagerException
Copyright © 2010-2013. All Rights Reserved.